Class UndeployModelRequest.Builder (2.3.0)

public static final class UndeployModelRequest.Builder extends GeneratedMessageV3.Builder<UndeployModelRequest.Builder> implements UndeployModelRequestOrBuilder

Request message for AutoMl.UndeployModel.

Protobuf type google.cloud.automl.v1beta1.UndeployModelRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UndeployModelRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

build()

public UndeployModelRequest build()
Returns
TypeDescription
UndeployModelRequest

buildPartial()

public UndeployModelRequest buildPartial()
Returns
TypeDescription
UndeployModelRequest

clear()

public UndeployModelRequest.Builder clear()
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UndeployModelRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

clearName()

public UndeployModelRequest.Builder clearName()

Required. Resource name of the model to undeploy.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
UndeployModelRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public UndeployModelRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

clone()

public UndeployModelRequest.Builder clone()
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

getDefaultInstanceForType()

public UndeployModelRequest getDefaultInstanceForType()
Returns
TypeDescription
UndeployModelRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the model to undeploy.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the model to undeploy.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UndeployModelRequest other)

public UndeployModelRequest.Builder mergeFrom(UndeployModelRequest other)
Parameter
NameDescription
otherUndeployModelRequest
Returns
TypeDescription
UndeployModelRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UndeployModelRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UndeployModelRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UndeployModelRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public UndeployModelRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

setName(String value)

public UndeployModelRequest.Builder setName(String value)

Required. Resource name of the model to undeploy.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
UndeployModelRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public UndeployModelRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the model to undeploy.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
UndeployModelRequest.Builder

This builder for chaining.

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

public UndeployModelRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UndeployModelRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UndeployModelRequest.Builder
Overrides