public static final class ListMonitoredResourceDescriptorsResponse.Builder extends GeneratedMessageV3.Builder<ListMonitoredResourceDescriptorsResponse.Builder> implements ListMonitoredResourceDescriptorsResponseOrBuilder
The ListMonitoredResourceDescriptors
response.
Protobuf type google.monitoring.v3.ListMonitoredResourceDescriptorsResponse
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
addAllResourceDescriptors(Iterable<? extends MonitoredResourceDescriptor> values)
public ListMonitoredResourceDescriptorsResponse.Builder addAllResourceDescriptors(Iterable<? extends MonitoredResourceDescriptor> values)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.api.MonitoredResourceDescriptor>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListMonitoredResourceDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addResourceDescriptors(MonitoredResourceDescriptor value)
public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(MonitoredResourceDescriptor value)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
value | com.google.api.MonitoredResourceDescriptor
|
addResourceDescriptors(MonitoredResourceDescriptor.Builder builderForValue)
public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(MonitoredResourceDescriptor.Builder builderForValue)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
builderForValue | com.google.api.MonitoredResourceDescriptor.Builder
|
addResourceDescriptors(int index, MonitoredResourceDescriptor value)
public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(int index, MonitoredResourceDescriptor value)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.api.MonitoredResourceDescriptor
|
addResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)
public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.api.MonitoredResourceDescriptor.Builder
|
addResourceDescriptorsBuilder()
public MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder()
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Returns |
---|
Type | Description |
com.google.api.MonitoredResourceDescriptor.Builder | |
addResourceDescriptorsBuilder(int index)
public MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder(int index)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MonitoredResourceDescriptor.Builder | |
build()
public ListMonitoredResourceDescriptorsResponse build()
buildPartial()
public ListMonitoredResourceDescriptorsResponse buildPartial()
clear()
public ListMonitoredResourceDescriptorsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListMonitoredResourceDescriptorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListMonitoredResourceDescriptorsResponse.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 ListMonitoredResourceDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResourceDescriptors()
public ListMonitoredResourceDescriptorsResponse.Builder clearResourceDescriptors()
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
clone()
public ListMonitoredResourceDescriptorsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getResourceDescriptors(int index)
public MonitoredResourceDescriptor getResourceDescriptors(int index)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MonitoredResourceDescriptor | |
getResourceDescriptorsBuilder(int index)
public MonitoredResourceDescriptor.Builder getResourceDescriptorsBuilder(int index)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MonitoredResourceDescriptor.Builder | |
getResourceDescriptorsBuilderList()
public List<MonitoredResourceDescriptor.Builder> getResourceDescriptorsBuilderList()
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Returns |
---|
Type | Description |
List<com.google.api.MonitoredResourceDescriptor.Builder> | |
getResourceDescriptorsCount()
public int getResourceDescriptorsCount()
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Returns |
---|
Type | Description |
int | |
getResourceDescriptorsList()
public List<MonitoredResourceDescriptor> getResourceDescriptorsList()
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Returns |
---|
Type | Description |
List<com.google.api.MonitoredResourceDescriptor> | |
getResourceDescriptorsOrBuilder(int index)
public MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(int index)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
com.google.api.MonitoredResourceDescriptorOrBuilder | |
getResourceDescriptorsOrBuilderList()
public List<? extends MonitoredResourceDescriptorOrBuilder> getResourceDescriptorsOrBuilderList()
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Returns |
---|
Type | Description |
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListMonitoredResourceDescriptorsResponse other)
public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(ListMonitoredResourceDescriptorsResponse other)
public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListMonitoredResourceDescriptorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeResourceDescriptors(int index)
public ListMonitoredResourceDescriptorsResponse.Builder removeResourceDescriptors(int index)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListMonitoredResourceDescriptorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListMonitoredResourceDescriptorsResponse.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 ListMonitoredResourceDescriptorsResponse.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 ListMonitoredResourceDescriptorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResourceDescriptors(int index, MonitoredResourceDescriptor value)
public ListMonitoredResourceDescriptorsResponse.Builder setResourceDescriptors(int index, MonitoredResourceDescriptor value)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
value | com.google.api.MonitoredResourceDescriptor
|
setResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)
public ListMonitoredResourceDescriptorsResponse.Builder setResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)
The monitored resource descriptors that are available to this project
and that match filter
, if present.
repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | com.google.api.MonitoredResourceDescriptor.Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ListMonitoredResourceDescriptorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides