Class ListDashboardsResponse.Builder (2.22.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.dashboard.v1.Dashboard>
Returns
TypeDescription
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
NameDescription
valueDashboard
Returns
TypeDescription
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
NameDescription
builderForValueDashboard.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDashboard
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDashboard.Builder
Returns
TypeDescription
ListDashboardsResponse.Builder

addDashboardsBuilder()

public Dashboard.Builder addDashboardsBuilder()

The list of requested dashboards.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Dashboard.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListDashboardsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides

build()

public ListDashboardsResponse build()
Returns
TypeDescription
ListDashboardsResponse

buildPartial()

public ListDashboardsResponse buildPartial()
Returns
TypeDescription
ListDashboardsResponse

clear()

public ListDashboardsResponse.Builder clear()
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides

clearDashboards()

public ListDashboardsResponse.Builder clearDashboards()

The list of requested dashboards.

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

Returns
TypeDescription
ListDashboardsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListDashboardsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDashboardsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDashboardsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides

clone()

public ListDashboardsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Dashboard

getDashboardsBuilder(int index)

public Dashboard.Builder getDashboardsBuilder(int index)

The list of requested dashboards.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Dashboard.Builder

getDashboardsBuilderList()

public List<Dashboard.Builder> getDashboardsBuilderList()

The list of requested dashboards.

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

Returns
TypeDescription
List<Builder>

getDashboardsCount()

public int getDashboardsCount()

The list of requested dashboards.

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

Returns
TypeDescription
int

getDashboardsList()

public List<Dashboard> getDashboardsList()

The list of requested dashboards.

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

Returns
TypeDescription
List<Dashboard>

getDashboardsOrBuilder(int index)

public DashboardOrBuilder getDashboardsOrBuilder(int index)

The list of requested dashboards.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
DashboardOrBuilder

getDashboardsOrBuilderList()

public List<? extends DashboardOrBuilder> getDashboardsOrBuilderList()

The list of requested dashboards.

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

Returns
TypeDescription
List<? extends com.google.monitoring.dashboard.v1.DashboardOrBuilder>

getDefaultInstanceForType()

public ListDashboardsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDashboardsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDashboardsResponse other)

public ListDashboardsResponse.Builder mergeFrom(ListDashboardsResponse other)
Parameter
NameDescription
otherListDashboardsResponse
Returns
TypeDescription
ListDashboardsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDashboardsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListDashboardsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDashboardsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDashboard
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDashboard.Builder
Returns
TypeDescription
ListDashboardsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListDashboardsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListDashboardsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDashboardsResponse.Builder
Overrides