public static final class GetMetadataSchemaRequest.Builder extends GeneratedMessageV3.Builder<GetMetadataSchemaRequest.Builder> implements GetMetadataSchemaRequestOrBuilder
Request message for MetadataService.GetMetadataSchema.
Protobuf type google.cloud.aiplatform.v1beta1.GetMetadataSchemaRequest
Methods
public GetMetadataSchemaRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetMetadataSchemaRequest build()
Returns
public GetMetadataSchemaRequest buildPartial()
Returns
public GetMetadataSchemaRequest.Builder clear()
Returns
Overrides
public GetMetadataSchemaRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public GetMetadataSchemaRequest.Builder clearName()
Required. The resource name of the MetadataSchema to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public GetMetadataSchemaRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public GetMetadataSchemaRequest.Builder clone()
Returns
Overrides
public GetMetadataSchemaRequest getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The resource name of the MetadataSchema to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. The resource name of the MetadataSchema to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public GetMetadataSchemaRequest.Builder mergeFrom(GetMetadataSchemaRequest other)
Parameter
Returns
public GetMetadataSchemaRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public GetMetadataSchemaRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final GetMetadataSchemaRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public GetMetadataSchemaRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetMetadataSchemaRequest.Builder setName(String value)
Required. The resource name of the MetadataSchema to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public GetMetadataSchemaRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the MetadataSchema to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public GetMetadataSchemaRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final GetMetadataSchemaRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides