Class GetMetadataStoreRequest.Builder (3.38.0)

public static final class GetMetadataStoreRequest.Builder extends GeneratedMessageV3.Builder<GetMetadataStoreRequest.Builder> implements GetMetadataStoreRequestOrBuilder

Request message for MetadataService.GetMetadataStore.

Protobuf type google.cloud.aiplatform.v1.GetMetadataStoreRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetMetadataStoreRequest build()
Returns
TypeDescription
GetMetadataStoreRequest

buildPartial()

public GetMetadataStoreRequest buildPartial()
Returns
TypeDescription
GetMetadataStoreRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetMetadataStoreRequest.Builder clearName()

Required. The resource name of the MetadataStore to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

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

Returns
TypeDescription
GetMetadataStoreRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetMetadataStoreRequest getDefaultInstanceForType()
Returns
TypeDescription
GetMetadataStoreRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the MetadataStore to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the MetadataStore to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetMetadataStoreRequest other)

public GetMetadataStoreRequest.Builder mergeFrom(GetMetadataStoreRequest other)
Parameter
NameDescription
otherGetMetadataStoreRequest
Returns
TypeDescription
GetMetadataStoreRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetMetadataStoreRequest.Builder setName(String value)

Required. The resource name of the MetadataStore to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetMetadataStoreRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetMetadataStoreRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the MetadataStore to retrieve. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetMetadataStoreRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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