Class ListDashboardsResponse.Builder (2.46.0)

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
Type Description
Descriptor

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
Type Description
ListDashboardsResponse.Builder

addDashboards(Dashboard value)

public ListDashboardsResponse.Builder addDashboards(Dashboard value)

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Parameter
Name Description
value Dashboard
Returns
Type Description
ListDashboardsResponse.Builder

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
Name Description
builderForValue Dashboard.Builder
Returns
Type Description
ListDashboardsResponse.Builder

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
Name Description
index int
value Dashboard
Returns
Type Description
ListDashboardsResponse.Builder

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
Name Description
index int
builderForValue Dashboard.Builder
Returns
Type Description
ListDashboardsResponse.Builder

addDashboardsBuilder()

public Dashboard.Builder addDashboardsBuilder()

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Returns
Type Description
Dashboard.Builder

addDashboardsBuilder(int index)

public Dashboard.Builder addDashboardsBuilder(int index)

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Parameter
Name Description
index int
Returns
Type Description
Dashboard.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDashboardsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

build()

public ListDashboardsResponse build()
Returns
Type Description
ListDashboardsResponse

buildPartial()

public ListDashboardsResponse buildPartial()
Returns
Type Description
ListDashboardsResponse

clear()

public ListDashboardsResponse.Builder clear()
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

clearDashboards()

public ListDashboardsResponse.Builder clearDashboards()

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Returns
Type Description
ListDashboardsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDashboardsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDashboardsResponse.Builder
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
Type Description
ListDashboardsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDashboardsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

clone()

public ListDashboardsResponse.Builder clone()
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

getDashboards(int index)

public Dashboard getDashboards(int index)

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Parameter
Name Description
index int
Returns
Type Description
Dashboard

getDashboardsBuilder(int index)

public Dashboard.Builder getDashboardsBuilder(int index)

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Parameter
Name Description
index int
Returns
Type Description
Dashboard.Builder

getDashboardsBuilderList()

public List<Dashboard.Builder> getDashboardsBuilderList()

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Returns
Type Description
List<Builder>

getDashboardsCount()

public int getDashboardsCount()

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Returns
Type Description
int

getDashboardsList()

public List<Dashboard> getDashboardsList()

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Returns
Type Description
List<Dashboard>

getDashboardsOrBuilder(int index)

public DashboardOrBuilder getDashboardsOrBuilder(int index)

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Parameter
Name Description
index int
Returns
Type Description
DashboardOrBuilder

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
Type Description
ListDashboardsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDashboardsResponse other)

public ListDashboardsResponse.Builder mergeFrom(ListDashboardsResponse other)
Parameter
Name Description
other ListDashboardsResponse
Returns
Type Description
ListDashboardsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDashboardsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDashboardsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDashboardsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDashboardsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

removeDashboards(int index)

public ListDashboardsResponse.Builder removeDashboards(int index)

The list of requested dashboards.

repeated .google.monitoring.dashboard.v1.Dashboard dashboards = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDashboardsResponse.Builder

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
Name Description
index int
value Dashboard
Returns
Type Description
ListDashboardsResponse.Builder

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
Name Description
index int
builderForValue Dashboard.Builder
Returns
Type Description
ListDashboardsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDashboardsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDashboardsResponse.Builder
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
Type Description
ListDashboardsResponse.Builder

This builder for chaining.

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
Type Description
ListDashboardsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListDashboardsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDashboardsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDashboardsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDashboardsResponse.Builder
Overrides