Class PublisherModel.CallToAction.Deploy.DeployMetadata.Builder (3.55.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

build()

public PublisherModel.CallToAction.Deploy.DeployMetadata build()
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata

buildPartial()

public PublisherModel.CallToAction.Deploy.DeployMetadata buildPartial()
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata

clear()

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clear()
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

clearLabels()

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearLabels()
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

clearSampleRequest()

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clearSampleRequest()

Optional. Sample request for deployed endpoint.

string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

This builder for chaining.

clone()

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder clone()
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

containsLabels(String key)

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
Returns
Type Description
boolean

getDefaultInstanceForType()

public PublisherModel.CallToAction.Deploy.DeployMetadata getDefaultInstanceForType()
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

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

getLabelsMap()

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];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

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

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getSampleRequest()

public String getSampleRequest()

Optional. Sample request for deployed endpoint.

string sample_request = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sampleRequest.

getSampleRequestBytes()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

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)

internalGetMutableMapFieldReflection(int number)

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)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublisherModel.CallToAction.Deploy.DeployMetadata other)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeFrom(PublisherModel.CallToAction.Deploy.DeployMetadata other)
Parameter
Name Description
other PublisherModel.CallToAction.Deploy.DeployMetadata
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.Deploy.DeployMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

putAllLabels(Map<String,String> values)

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];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

putLabels(String key, String value)

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];

Parameters
Name Description
key String
value String
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

removeLabels(String key)

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
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

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

public PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides

setSampleRequest(String value)

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.

Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

This builder for chaining.

setSampleRequestBytes(ByteString value)

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.

Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublisherModel.CallToAction.Deploy.DeployMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublisherModel.CallToAction.Deploy.DeployMetadata.Builder
Overrides