Class ListServicesResponse.Builder (2.6.0)

public static final class ListServicesResponse.Builder extends GeneratedMessageV3.Builder<ListServicesResponse.Builder> implements ListServicesResponseOrBuilder

Response message for DataprocMetastore.ListServices.

Protobuf type google.cloud.metastore.v1.ListServicesResponse

Static Methods

getDescriptor()

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

Methods

addAllServices(Iterable<? extends Service> values)

public ListServicesResponse.Builder addAllServices(Iterable<? extends Service> values)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.metastore.v1.Service>
Returns
TypeDescription
ListServicesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListServicesResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListServicesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListServicesResponse.Builder
Overrides

addServices(Service value)

public ListServicesResponse.Builder addServices(Service value)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
valueService
Returns
TypeDescription
ListServicesResponse.Builder

addServices(Service.Builder builderForValue)

public ListServicesResponse.Builder addServices(Service.Builder builderForValue)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
builderForValueService.Builder
Returns
TypeDescription
ListServicesResponse.Builder

addServices(int index, Service value)

public ListServicesResponse.Builder addServices(int index, Service value)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameters
NameDescription
indexint
valueService
Returns
TypeDescription
ListServicesResponse.Builder

addServices(int index, Service.Builder builderForValue)

public ListServicesResponse.Builder addServices(int index, Service.Builder builderForValue)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameters
NameDescription
indexint
builderForValueService.Builder
Returns
TypeDescription
ListServicesResponse.Builder

addServicesBuilder()

public Service.Builder addServicesBuilder()

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Returns
TypeDescription
Service.Builder

addServicesBuilder(int index)

public Service.Builder addServicesBuilder(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service.Builder

addUnreachable(String value)

public ListServicesResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListServicesResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

build()

public ListServicesResponse build()
Returns
TypeDescription
ListServicesResponse

buildPartial()

public ListServicesResponse buildPartial()
Returns
TypeDescription
ListServicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListServicesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListServicesResponse.Builder
Overrides

clearNextPageToken()

public ListServicesResponse.Builder clearNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListServicesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListServicesResponse.Builder
Overrides

clearServices()

public ListServicesResponse.Builder clearServices()

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Returns
TypeDescription
ListServicesResponse.Builder

clearUnreachable()

public ListServicesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServicesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getServices(int index)

public Service getServices(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service

getServicesBuilder(int index)

public Service.Builder getServicesBuilder(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service.Builder

getServicesBuilderList()

public List<Service.Builder> getServicesBuilderList()

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Returns
TypeDescription
List<Builder>

getServicesCount()

public int getServicesCount()

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Returns
TypeDescription
int

getServicesList()

public List<Service> getServicesList()

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Returns
TypeDescription
List<Service>

getServicesOrBuilder(int index)

public ServiceOrBuilder getServicesOrBuilder(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Returns
TypeDescription
List<? extends com.google.cloud.metastore.v1.ServiceOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListServicesResponse other)

public ListServicesResponse.Builder mergeFrom(ListServicesResponse other)
Parameter
NameDescription
otherListServicesResponse
Returns
TypeDescription
ListServicesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListServicesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListServicesResponse.Builder
Overrides

removeServices(int index)

public ListServicesResponse.Builder removeServices(int index)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListServicesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListServicesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListServicesResponse.Builder
Overrides

setNextPageToken(String value)

public ListServicesResponse.Builder setNextPageToken(String value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListServicesResponse.Builder setNextPageTokenBytes(ByteString value)

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.

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

public ListServicesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListServicesResponse.Builder
Overrides

setServices(int index, Service value)

public ListServicesResponse.Builder setServices(int index, Service value)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameters
NameDescription
indexint
valueService
Returns
TypeDescription
ListServicesResponse.Builder

setServices(int index, Service.Builder builderForValue)

public ListServicesResponse.Builder setServices(int index, Service.Builder builderForValue)

The services in the specified location.

repeated .google.cloud.metastore.v1.Service services = 1;

Parameters
NameDescription
indexint
builderForValueService.Builder
Returns
TypeDescription
ListServicesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

public ListServicesResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListServicesResponse.Builder

This builder for chaining.