public static final class ListDashboardsResponse.Builder extends GeneratedMessageV3.Builder<ListDashboardsResponse.Builder> implements ListDashboardsResponseOrBuilder
The ListDashboards
request.
Protobuf type google.monitoring.dashboard.v1.ListDashboardsResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllDashboards(Iterable<? extends Dashboard> values)
public ListDashboardsResponse.Builder addAllDashboards(Iterable<? extends Dashboard> values)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.monitoring.dashboard.v1.Dashboard>
|
Returns
addDashboards(Dashboard value)
public ListDashboardsResponse.Builder addDashboards(Dashboard value)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
addDashboards(Dashboard.Builder builderForValue)
public ListDashboardsResponse.Builder addDashboards(Dashboard.Builder builderForValue)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
addDashboards(int index, Dashboard value)
public ListDashboardsResponse.Builder addDashboards(int index, Dashboard value)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameters
Returns
addDashboards(int index, Dashboard.Builder builderForValue)
public ListDashboardsResponse.Builder addDashboards(int index, Dashboard.Builder builderForValue)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameters
Returns
addDashboardsBuilder()
public Dashboard.Builder addDashboardsBuilder()
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Returns
addDashboardsBuilder(int index)
public Dashboard.Builder addDashboardsBuilder(int index)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDashboardsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDashboardsResponse build()
Returns
buildPartial()
public ListDashboardsResponse buildPartial()
Returns
clear()
public ListDashboardsResponse.Builder clear()
Returns
Overrides
clearDashboards()
public ListDashboardsResponse.Builder clearDashboards()
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListDashboardsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNextPageToken()
public ListDashboardsResponse.Builder clearNextPageToken()
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDashboardsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDashboardsResponse.Builder clone()
Returns
Overrides
getDashboards(int index)
public Dashboard getDashboards(int index)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
getDashboardsBuilder(int index)
public Dashboard.Builder getDashboardsBuilder(int index)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
getDashboardsBuilderList()
public List<Dashboard.Builder> getDashboardsBuilderList()
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Returns
getDashboardsCount()
public int getDashboardsCount()
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Returns
getDashboardsList()
public List<Dashboard> getDashboardsList()
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Returns
getDashboardsOrBuilder(int index)
public DashboardOrBuilder getDashboardsOrBuilder(int index)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
getDashboardsOrBuilderList()
public List<? extends DashboardOrBuilder> getDashboardsOrBuilderList()
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Returns
Type | Description |
List<? extends com.google.monitoring.dashboard.v1.DashboardOrBuilder> | |
getDefaultInstanceForType()
public ListDashboardsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNextPageToken()
public String getNextPageToken()
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Returns
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Returns
Type | Description |
ByteString | The bytes for nextPageToken.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDashboardsResponse other)
public ListDashboardsResponse.Builder mergeFrom(ListDashboardsResponse other)
Parameter
Returns
public ListDashboardsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDashboardsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDashboardsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeDashboards(int index)
public ListDashboardsResponse.Builder removeDashboards(int index)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameter
Returns
setDashboards(int index, Dashboard value)
public ListDashboardsResponse.Builder setDashboards(int index, Dashboard value)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameters
Returns
setDashboards(int index, Dashboard.Builder builderForValue)
public ListDashboardsResponse.Builder setDashboards(int index, Dashboard.Builder builderForValue)
The list of requested dashboards.
repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDashboardsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNextPageToken(String value)
public ListDashboardsResponse.Builder setNextPageToken(String value)
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Parameter
Name | Description |
value | String
The nextPageToken to set.
|
Returns
setNextPageTokenBytes(ByteString value)
public ListDashboardsResponse.Builder setNextPageTokenBytes(ByteString value)
If there are more results than have been returned, then this field is set
to a non-empty value. To see the additional results,
use that value as page_token
in the next call to this method.
string next_page_token = 2;
Parameter
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDashboardsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDashboardsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides