Class UpdatePersistentResourceRequest.Builder (3.43.0)

public static final class UpdatePersistentResourceRequest.Builder extends GeneratedMessageV3.Builder<UpdatePersistentResourceRequest.Builder> implements UpdatePersistentResourceRequestOrBuilder

Request message for UpdatePersistentResource method.

Protobuf type google.cloud.aiplatform.v1.UpdatePersistentResourceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdatePersistentResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

build()

public UpdatePersistentResourceRequest build()
Returns
Type Description
UpdatePersistentResourceRequest

buildPartial()

public UpdatePersistentResourceRequest buildPartial()
Returns
Type Description
UpdatePersistentResourceRequest

clear()

public UpdatePersistentResourceRequest.Builder clear()
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdatePersistentResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePersistentResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

clearPersistentResource()

public UpdatePersistentResourceRequest.Builder clearPersistentResource()

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdatePersistentResourceRequest.Builder

clearUpdateMask()

public UpdatePersistentResourceRequest.Builder clearUpdateMask()

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Returns
Type Description
UpdatePersistentResourceRequest.Builder

clone()

public UpdatePersistentResourceRequest.Builder clone()
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdatePersistentResourceRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePersistentResourceRequest

getDescriptorForType()

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

getPersistentResource()

public PersistentResource getPersistentResource()

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PersistentResource

The persistentResource.

getPersistentResourceBuilder()

public PersistentResource.Builder getPersistentResourceBuilder()

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PersistentResource.Builder

getPersistentResourceOrBuilder()

public PersistentResourceOrBuilder getPersistentResourceOrBuilder()

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PersistentResourceOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Returns
Type Description
FieldMaskOrBuilder

hasPersistentResource()

public boolean hasPersistentResource()

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the persistentResource field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdatePersistentResourceRequest other)

public UpdatePersistentResourceRequest.Builder mergeFrom(UpdatePersistentResourceRequest other)
Parameter
Name Description
other UpdatePersistentResourceRequest
Returns
Type Description
UpdatePersistentResourceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdatePersistentResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdatePersistentResourceRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

mergePersistentResource(PersistentResource value)

public UpdatePersistentResourceRequest.Builder mergePersistentResource(PersistentResource value)

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PersistentResource
Returns
Type Description
UpdatePersistentResourceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePersistentResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdatePersistentResourceRequest.Builder mergeUpdateMask(FieldMask value)

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePersistentResourceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePersistentResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

setPersistentResource(PersistentResource value)

public UpdatePersistentResourceRequest.Builder setPersistentResource(PersistentResource value)

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PersistentResource
Returns
Type Description
UpdatePersistentResourceRequest.Builder

setPersistentResource(PersistentResource.Builder builderForValue)

public UpdatePersistentResourceRequest.Builder setPersistentResource(PersistentResource.Builder builderForValue)

Required. The PersistentResource to update.

The PersistentResource's name field is used to identify the PersistentResource to update. Format: projects/{project}/locations/{location}/persistentResources/{persistent_resource}

.google.cloud.aiplatform.v1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue PersistentResource.Builder
Returns
Type Description
UpdatePersistentResourceRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePersistentResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdatePersistentResourceRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdatePersistentResourceRequest.Builder setUpdateMask(FieldMask value)

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdatePersistentResourceRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdatePersistentResourceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Specify the fields to be overwritten in the PersistentResource by the update method.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdatePersistentResourceRequest.Builder