public static final class PublisherModel.CallToAction.Deploy.DeployMetadata.Builder extends GeneratedMessageV3.Builder<PublisherModel.CallToAction.Deploy.DeployMetadata.Builder> implements PublisherModel.CallToAction.Deploy.DeployMetadataOrBuilder
Metadata information about the deployment for managing deployment
config.
Protobuf type
google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata
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 PublisherModel.CallToAction.Deploy.DeployMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata build()
public PublisherModel.CallToAction.Deploy.DeployMetadata buildPartial()
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clear()
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearLabels()
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearSampleRequest()
Optional. Sample request for deployed endpoint.
string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clone()
Overrides
public boolean containsLabels(String key)
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public PublisherModel.CallToAction.Deploy.DeployMetadata getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Map<String,String> getLabels()
public int getLabelsCount()
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getLabelsMap()
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
public String getLabelsOrDefault(String key, String defaultValue)
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getLabelsOrThrow(String key)
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
public String getSampleRequest()
Optional. Sample request for deployed endpoint.
string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The sampleRequest.
|
public ByteString getSampleRequestBytes()
Optional. Sample request for deployed endpoint.
string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for sampleRequest.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeFrom(PublisherModel.CallToAction.Deploy.DeployMetadata other)
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder putAllLabels(Map<String,String> values)
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder putLabels(String key, String value)
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder removeLabels(String key)
Optional. Labels for the deployment. For managing deployment config
like verifying, source of deployment config, etc.
map<string, string> labels = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setSampleRequest(String value)
Optional. Sample request for deployed endpoint.
string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The sampleRequest to set.
|
public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setSampleRequestBytes(ByteString value)
Optional. Sample request for deployed endpoint.
string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for sampleRequest to set.
|
public final PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides