Class UpdatePersistentResourceRequest.Builder (3.84.0)

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

Request message for UpdatePersistentResource method.

Protobuf type google.cloud.aiplatform.v1beta1.UpdatePersistentResourceRequest

Static Methods

getDescriptor()

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

Methods

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

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.v1beta1.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

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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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 GeneratedMessage.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.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value PersistentResource
Returns
Type Description
UpdatePersistentResourceRequest.Builder

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

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.v1beta1.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.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

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

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