public static final class GetArtifactRequest.Builder extends GeneratedMessageV3.Builder<GetArtifactRequest.Builder> implements GetArtifactRequestOrBuilder
Request message for MetadataService.GetArtifact.
Protobuf type google.cloud.aiplatform.v1.GetArtifactRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public GetArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetArtifactRequest build()
Returns
public GetArtifactRequest buildPartial()
Returns
public GetArtifactRequest.Builder clear()
Returns
Overrides
public GetArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public GetArtifactRequest.Builder clearName()
Required. The resource name of the Artifact to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public GetArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public GetArtifactRequest.Builder clone()
Returns
Overrides
public GetArtifactRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. The resource name of the Artifact to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
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 Artifact to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
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 GetArtifactRequest.Builder mergeFrom(GetArtifactRequest other)
Parameter
Returns
public GetArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public GetArtifactRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final GetArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public GetArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public GetArtifactRequest.Builder setName(String value)
Required. The resource name of the Artifact to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public GetArtifactRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the Artifact to retrieve.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
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 GetArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final GetArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides