Class UpdateEndpointRequest.Builder (3.28.0)

public static final class UpdateEndpointRequest.Builder extends GeneratedMessageV3.Builder<UpdateEndpointRequest.Builder> implements UpdateEndpointRequestOrBuilder

Request message for EndpointService.UpdateEndpoint.

Protobuf type google.cloud.aiplatform.v1beta1.UpdateEndpointRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEndpointRequest build()
Returns
TypeDescription
UpdateEndpointRequest

buildPartial()

public UpdateEndpointRequest buildPartial()
Returns
TypeDescription
UpdateEndpointRequest

clear()

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

clearEndpoint()

public UpdateEndpointRequest.Builder clearEndpoint()

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateEndpointRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateEndpointRequest.Builder clearUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateEndpointRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateEndpointRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEndpointRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndpoint()

public Endpoint getEndpoint()

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Endpoint

The endpoint.

getEndpointBuilder()

public Endpoint.Builder getEndpointBuilder()

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Endpoint.Builder

getEndpointOrBuilder()

public EndpointOrBuilder getEndpointOrBuilder()

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
EndpointOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasEndpoint()

public boolean hasEndpoint()

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the endpoint field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeEndpoint(Endpoint value)

public UpdateEndpointRequest.Builder mergeEndpoint(Endpoint value)

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEndpoint
Returns
TypeDescription
UpdateEndpointRequest.Builder

mergeFrom(UpdateEndpointRequest other)

public UpdateEndpointRequest.Builder mergeFrom(UpdateEndpointRequest other)
Parameter
NameDescription
otherUpdateEndpointRequest
Returns
TypeDescription
UpdateEndpointRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateEndpointRequest.Builder mergeUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEndpointRequest.Builder

setEndpoint(Endpoint value)

public UpdateEndpointRequest.Builder setEndpoint(Endpoint value)

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueEndpoint
Returns
TypeDescription
UpdateEndpointRequest.Builder

setEndpoint(Endpoint.Builder builderForValue)

public UpdateEndpointRequest.Builder setEndpoint(Endpoint.Builder builderForValue)

Required. The Endpoint which replaces the resource on the server.

.google.cloud.aiplatform.v1beta1.Endpoint endpoint = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueEndpoint.Builder
Returns
TypeDescription
UpdateEndpointRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateEndpointRequest.Builder setUpdateMask(FieldMask value)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateEndpointRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateEndpointRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The update mask applies to the resource. See google.protobuf.FieldMask.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateEndpointRequest.Builder