public static final class ExportPublisherModelRequest.Builder extends GeneratedMessageV3.Builder<ExportPublisherModelRequest.Builder> implements ExportPublisherModelRequestOrBuilder
Request message for
ModelGardenService.ExportPublisherModel.
Protobuf type google.cloud.aiplatform.v1beta1.ExportPublisherModelRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public ExportPublisherModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExportPublisherModelRequest build()
public ExportPublisherModelRequest buildPartial()
public ExportPublisherModelRequest.Builder clear()
Overrides
public ExportPublisherModelRequest.Builder clearDestination()
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
public ExportPublisherModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ExportPublisherModelRequest.Builder clearName()
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}@{version_id}
, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001
string name = 1 [(.google.api.field_behavior) = REQUIRED];
public ExportPublisherModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ExportPublisherModelRequest.Builder clearParent()
Required. The Location to export the model weights from
Format: projects/{project}/locations/{location}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ExportPublisherModelRequest.Builder clone()
Overrides
public ExportPublisherModelRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public GcsDestination getDestination()
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
public GcsDestination.Builder getDestinationBuilder()
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
public GcsDestinationOrBuilder getDestinationOrBuilder()
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}@{version_id}
, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}@{version_id}
, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for name.
|
public String getParent()
Required. The Location to export the model weights from
Format: projects/{project}/locations/{location}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public ByteString getParentBytes()
Required. The Location to export the model weights from
Format: projects/{project}/locations/{location}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public boolean hasDestination()
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the destination field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ExportPublisherModelRequest.Builder mergeDestination(GcsDestination value)
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
public ExportPublisherModelRequest.Builder mergeFrom(ExportPublisherModelRequest other)
public ExportPublisherModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ExportPublisherModelRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final ExportPublisherModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ExportPublisherModelRequest.Builder setDestination(GcsDestination value)
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
public ExportPublisherModelRequest.Builder setDestination(GcsDestination.Builder builderForValue)
Required. The target where we are exporting the model weights to
.google.cloud.aiplatform.v1beta1.GcsDestination destination = 2 [(.google.api.field_behavior) = REQUIRED];
public ExportPublisherModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ExportPublisherModelRequest.Builder setName(String value)
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}@{version_id}
, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The name to set.
|
public ExportPublisherModelRequest.Builder setNameBytes(ByteString value)
Required. The name of the PublisherModel resource.
Format:
publishers/{publisher}/models/{publisher_model}@{version_id}
, or
publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for name to set.
|
public ExportPublisherModelRequest.Builder setParent(String value)
Required. The Location to export the model weights from
Format: projects/{project}/locations/{location}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public ExportPublisherModelRequest.Builder setParentBytes(ByteString value)
Required. The Location to export the model weights from
Format: projects/{project}/locations/{location}
string parent = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public ExportPublisherModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ExportPublisherModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides