Class ListDashboardsRequest.Builder (2.14.0)

public static final class ListDashboardsRequest.Builder extends GeneratedMessageV3.Builder<ListDashboardsRequest.Builder> implements ListDashboardsRequestOrBuilder

The ListDashboards request.

Protobuf type google.monitoring.dashboard.v1.ListDashboardsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDashboardsRequest build()
Returns
TypeDescription
ListDashboardsRequest

buildPartial()

public ListDashboardsRequest buildPartial()
Returns
TypeDescription
ListDashboardsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListDashboardsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListDashboardsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListDashboardsRequest.Builder clearPageSize()

A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used.

int32 page_size = 2;

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

clearPageToken()

public ListDashboardsRequest.Builder clearPageToken()

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 3;

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

clearParent()

public ListDashboardsRequest.Builder clearParent()

Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

clone()

public ListDashboardsRequest.Builder clone()
Returns
TypeDescription
ListDashboardsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListDashboardsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListDashboardsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used.

int32 page_size = 2;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 3;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 3;

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDashboardsRequest other)

public ListDashboardsRequest.Builder mergeFrom(ListDashboardsRequest other)
Parameter
NameDescription
otherListDashboardsRequest
Returns
TypeDescription
ListDashboardsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDashboardsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDashboardsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListDashboardsRequest.Builder setPageSize(int value)

A positive number that is the maximum number of results to return. If unspecified, a default of 1000 is used.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDashboardsRequest.Builder setPageToken(String value)

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 3;

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDashboardsRequest.Builder setPageTokenBytes(ByteString value)

If this field is not empty then it must contain the nextPageToken value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

string page_token = 3;

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

setParent(String value)

public ListDashboardsRequest.Builder setParent(String value)

Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDashboardsRequest.Builder setParentBytes(ByteString value)

Required. The scope of the dashboards to list. The format is: projects/[PROJECT_ID_OR_NUMBER]

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListDashboardsRequest.Builder

This builder for chaining.

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

public ListDashboardsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDashboardsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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