Class ListMonitoredResourceDescriptorsResponse.Builder (3.35.0)

public static final class ListMonitoredResourceDescriptorsResponse.Builder extends GeneratedMessageV3.Builder<ListMonitoredResourceDescriptorsResponse.Builder> implements ListMonitoredResourceDescriptorsResponseOrBuilder

The ListMonitoredResourceDescriptors response.

Protobuf type google.monitoring.v3.ListMonitoredResourceDescriptorsResponse

Static Methods

getDescriptor()

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

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
NameDescription
valuesIterable<? extends com.google.api.MonitoredResourceDescriptor>
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMonitoredResourceDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder
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
NameDescription
valuecom.google.api.MonitoredResourceDescriptor
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

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
NameDescription
builderForValuecom.google.api.MonitoredResourceDescriptor.Builder
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.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
NameDescription
indexint
valuecom.google.api.MonitoredResourceDescriptor
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

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
NameDescription
indexint
builderForValuecom.google.api.MonitoredResourceDescriptor.Builder
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.api.MonitoredResourceDescriptor.Builder

build()

public ListMonitoredResourceDescriptorsResponse build()
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse

buildPartial()

public ListMonitoredResourceDescriptorsResponse buildPartial()
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMonitoredResourceDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder
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;

Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse

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.

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListMonitoredResourceDescriptorsResponse other)

public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(ListMonitoredResourceDescriptorsResponse other)
Parameter
NameDescription
otherListMonitoredResourceDescriptorsResponse
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

This builder for chaining.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

This builder for chaining.

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

public ListMonitoredResourceDescriptorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder
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
NameDescription
indexint
valuecom.google.api.MonitoredResourceDescriptor
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

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
NameDescription
indexint
builderForValuecom.google.api.MonitoredResourceDescriptor.Builder
Returns
TypeDescription
ListMonitoredResourceDescriptorsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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