public static final class ListDashboardsRequest.Builder extends GeneratedMessageV3.Builder<ListDashboardsRequest.Builder> implements ListDashboardsRequestOrBuilder
The ListDashboards
request.
Protobuf type google.monitoring.dashboard.v1.ListDashboardsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDashboardsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDashboardsRequest build()
Returns
buildPartial()
public ListDashboardsRequest buildPartial()
Returns
clear()
public ListDashboardsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListDashboardsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDashboardsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
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
clone()
public ListDashboardsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListDashboardsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
Type | Description |
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
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
Type | Description |
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDashboardsRequest other)
public ListDashboardsRequest.Builder mergeFrom(ListDashboardsRequest other)
Parameter
Returns
public ListDashboardsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDashboardsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDashboardsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ListDashboardsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | int
The pageSize to set.
|
Returns
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
Name | Description |
value | String
The pageToken to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for pageToken to set.
|
Returns
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
Name | Description |
value | String
The parent to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDashboardsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDashboardsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides