Class GetFederationRequest.Builder (2.47.0)

public static final class GetFederationRequest.Builder extends GeneratedMessageV3.Builder<GetFederationRequest.Builder> implements GetFederationRequestOrBuilder

Request message for GetFederation.

Protobuf type google.cloud.metastore.v1alpha.GetFederationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetFederationRequest build()
Returns
Type Description
GetFederationRequest

buildPartial()

public GetFederationRequest buildPartial()
Returns
Type Description
GetFederationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetFederationRequest.Builder clearName()

Required. The relative resource name of the metastore federation to retrieve, in the following form:

projects/{project_number}/locations/{location_id}/federations/{federation_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetFederationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetFederationRequest getDefaultInstanceForType()
Returns
Type Description
GetFederationRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The relative resource name of the metastore federation to retrieve, in the following form:

projects/{project_number}/locations/{location_id}/federations/{federation_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The relative resource name of the metastore federation to retrieve, in the following form:

projects/{project_number}/locations/{location_id}/federations/{federation_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetFederationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetFederationRequest.Builder setName(String value)

Required. The relative resource name of the metastore federation to retrieve, in the following form:

projects/{project_number}/locations/{location_id}/federations/{federation_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetFederationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetFederationRequest.Builder setNameBytes(ByteString value)

Required. The relative resource name of the metastore federation to retrieve, in the following form:

projects/{project_number}/locations/{location_id}/federations/{federation_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetFederationRequest.Builder

This builder for chaining.

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

public GetFederationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GetFederationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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