Class ListMonitoredResourceDescriptorsResponse.Builder (3.17.2)

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

Result returned from ListMonitoredResourceDescriptors.

Protobuf type google.logging.v2.ListMonitoredResourceDescriptorsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllResourceDescriptors(Iterable<? extends MonitoredResourceDescriptor> values)

public ListMonitoredResourceDescriptorsResponse.Builder addAllResourceDescriptors(Iterable<? extends MonitoredResourceDescriptor> values)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.MonitoredResourceDescriptor>
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListMonitoredResourceDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

addResourceDescriptors(MonitoredResourceDescriptor value)

public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(MonitoredResourceDescriptor value)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameter
Name Description
value com.google.api.MonitoredResourceDescriptor
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

addResourceDescriptors(MonitoredResourceDescriptor.Builder builderForValue)

public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(MonitoredResourceDescriptor.Builder builderForValue)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameter
Name Description
builderForValue com.google.api.MonitoredResourceDescriptor.Builder
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

addResourceDescriptors(int index, MonitoredResourceDescriptor value)

public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(int index, MonitoredResourceDescriptor value)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameters
Name Description
index int
value com.google.api.MonitoredResourceDescriptor
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

addResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)

public ListMonitoredResourceDescriptorsResponse.Builder addResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameters
Name Description
index int
builderForValue com.google.api.MonitoredResourceDescriptor.Builder
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

addResourceDescriptorsBuilder()

public MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder()

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Returns
Type Description
com.google.api.MonitoredResourceDescriptor.Builder

addResourceDescriptorsBuilder(int index)

public MonitoredResourceDescriptor.Builder addResourceDescriptorsBuilder(int index)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
com.google.api.MonitoredResourceDescriptor.Builder

build()

public ListMonitoredResourceDescriptorsResponse build()
Returns
Type Description
ListMonitoredResourceDescriptorsResponse

buildPartial()

public ListMonitoredResourceDescriptorsResponse buildPartial()
Returns
Type Description
ListMonitoredResourceDescriptorsResponse

clear()

public ListMonitoredResourceDescriptorsResponse.Builder clear()
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListMonitoredResourceDescriptorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

clearNextPageToken()

public ListMonitoredResourceDescriptorsResponse.Builder clearNextPageToken()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListMonitoredResourceDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

clearResourceDescriptors()

public ListMonitoredResourceDescriptorsResponse.Builder clearResourceDescriptors()

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

clone()

public ListMonitoredResourceDescriptorsResponse.Builder clone()
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListMonitoredResourceDescriptorsResponse getDefaultInstanceForType()
Returns
Type Description
ListMonitoredResourceDescriptorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getResourceDescriptors(int index)

public MonitoredResourceDescriptor getResourceDescriptors(int index)

A list of resource descriptors.

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)

A list of resource descriptors.

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()

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Returns
Type Description
List<com.google.api.MonitoredResourceDescriptor.Builder>

getResourceDescriptorsCount()

public int getResourceDescriptorsCount()

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Returns
Type Description
int

getResourceDescriptorsList()

public List<MonitoredResourceDescriptor> getResourceDescriptorsList()

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Returns
Type Description
List<com.google.api.MonitoredResourceDescriptor>

getResourceDescriptorsOrBuilder(int index)

public MonitoredResourceDescriptorOrBuilder getResourceDescriptorsOrBuilder(int index)

A list of resource descriptors.

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()

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Returns
Type Description
List<? extends com.google.api.MonitoredResourceDescriptorOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListMonitoredResourceDescriptorsResponse other)

public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(ListMonitoredResourceDescriptorsResponse other)
Parameter
Name Description
other ListMonitoredResourceDescriptorsResponse
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListMonitoredResourceDescriptorsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListMonitoredResourceDescriptorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

removeResourceDescriptors(int index)

public ListMonitoredResourceDescriptorsResponse.Builder removeResourceDescriptors(int index)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListMonitoredResourceDescriptorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

setNextPageToken(String value)

public ListMonitoredResourceDescriptorsResponse.Builder setNextPageToken(String value)

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListMonitoredResourceDescriptorsResponse.Builder setNextPageTokenBytes(ByteString value)

If there might be more results than those appearing in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides

setResourceDescriptors(int index, MonitoredResourceDescriptor value)

public ListMonitoredResourceDescriptorsResponse.Builder setResourceDescriptors(int index, MonitoredResourceDescriptor value)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameters
Name Description
index int
value com.google.api.MonitoredResourceDescriptor
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

setResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)

public ListMonitoredResourceDescriptorsResponse.Builder setResourceDescriptors(int index, MonitoredResourceDescriptor.Builder builderForValue)

A list of resource descriptors.

repeated .google.api.MonitoredResourceDescriptor resource_descriptors = 1;

Parameters
Name Description
index int
builderForValue com.google.api.MonitoredResourceDescriptor.Builder
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListMonitoredResourceDescriptorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListMonitoredResourceDescriptorsResponse.Builder
Overrides