public static final class ListMetricDescriptorsResponse.Builder extends GeneratedMessageV3.Builder<ListMetricDescriptorsResponse.Builder> implements ListMetricDescriptorsResponseOrBuilder
The ListMetricDescriptors
response.
Protobuf type google.monitoring.v3.ListMetricDescriptorsResponse
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()
Methods
addAllMetricDescriptors(Iterable<? extends MetricDescriptor> values)
public ListMetricDescriptorsResponse.Builder addAllMetricDescriptors(Iterable<? extends MetricDescriptor> values)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.api.MetricDescriptor>
|
addMetricDescriptors(MetricDescriptor value)
public ListMetricDescriptorsResponse.Builder addMetricDescriptors(MetricDescriptor value)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
value | com.google.api.MetricDescriptor
|
addMetricDescriptors(MetricDescriptor.Builder builderForValue)
public ListMetricDescriptorsResponse.Builder addMetricDescriptors(MetricDescriptor.Builder builderForValue)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
builderForValue | com.google.api.MetricDescriptor.Builder
|
addMetricDescriptors(int index, MetricDescriptor value)
public ListMetricDescriptorsResponse.Builder addMetricDescriptors(int index, MetricDescriptor value)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.api.MetricDescriptor
|
addMetricDescriptors(int index, MetricDescriptor.Builder builderForValue)
public ListMetricDescriptorsResponse.Builder addMetricDescriptors(int index, MetricDescriptor.Builder builderForValue)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.api.MetricDescriptor.Builder
|
addMetricDescriptorsBuilder()
public MetricDescriptor.Builder addMetricDescriptorsBuilder()
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Returns |
---|
Type | Description |
com.google.api.MetricDescriptor.Builder | |
addMetricDescriptorsBuilder(int index)
public MetricDescriptor.Builder addMetricDescriptorsBuilder(int index)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MetricDescriptor.Builder | |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMetricDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListMetricDescriptorsResponse build()
buildPartial()
public ListMetricDescriptorsResponse buildPartial()
clear()
public ListMetricDescriptorsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMetricDescriptorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearMetricDescriptors()
public ListMetricDescriptorsResponse.Builder clearMetricDescriptors()
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
clearNextPageToken()
public ListMetricDescriptorsResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListMetricDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListMetricDescriptorsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListMetricDescriptorsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMetricDescriptors(int index)
public MetricDescriptor getMetricDescriptors(int index)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MetricDescriptor | |
getMetricDescriptorsBuilder(int index)
public MetricDescriptor.Builder getMetricDescriptorsBuilder(int index)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MetricDescriptor.Builder | |
getMetricDescriptorsBuilderList()
public List<MetricDescriptor.Builder> getMetricDescriptorsBuilderList()
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Returns |
---|
Type | Description |
List<com.google.api.MetricDescriptor.Builder> | |
getMetricDescriptorsCount()
public int getMetricDescriptorsCount()
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Returns |
---|
Type | Description |
int | |
getMetricDescriptorsList()
public List<MetricDescriptor> getMetricDescriptorsList()
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Returns |
---|
Type | Description |
List<com.google.api.MetricDescriptor> | |
getMetricDescriptorsOrBuilder(int index)
public MetricDescriptorOrBuilder getMetricDescriptorsOrBuilder(int index)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MetricDescriptorOrBuilder | |
getMetricDescriptorsOrBuilderList()
public List<? extends MetricDescriptorOrBuilder> getMetricDescriptorsOrBuilderList()
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Returns |
---|
Type | Description |
List<? extends com.google.api.MetricDescriptorOrBuilder> | |
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListMetricDescriptorsResponse other)
public ListMetricDescriptorsResponse.Builder mergeFrom(ListMetricDescriptorsResponse other)
public ListMetricDescriptorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListMetricDescriptorsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMetricDescriptorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMetricDescriptors(int index)
public ListMetricDescriptorsResponse.Builder removeMetricDescriptors(int index)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListMetricDescriptorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMetricDescriptors(int index, MetricDescriptor value)
public ListMetricDescriptorsResponse.Builder setMetricDescriptors(int index, MetricDescriptor value)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.api.MetricDescriptor
|
setMetricDescriptors(int index, MetricDescriptor.Builder builderForValue)
public ListMetricDescriptorsResponse.Builder setMetricDescriptors(int index, MetricDescriptor.Builder builderForValue)
The metric descriptors that are available to the project
and that match the value of filter
, if present.
repeated .google.api.MetricDescriptor metric_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.api.MetricDescriptor.Builder
|
setNextPageToken(String value)
public ListMetricDescriptorsResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListMetricDescriptorsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListMetricDescriptorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMetricDescriptorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides