Class UpdatePersistentResourceRequest.Builder (3.36.0)

public static final class UpdatePersistentResourceRequest.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdatePersistentResourceRequest build()
Returns
TypeDescription
UpdatePersistentResourceRequest

buildPartial()

public UpdatePersistentResourceRequest buildPartial()
Returns
TypeDescription
UpdatePersistentResourceRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdatePersistentResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdatePersistentResourceRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdatePersistentResourceRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdatePersistentResourceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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

mergeFrom(UpdatePersistentResourceRequest other)

public UpdatePersistentResourceRequest.Builder mergeFrom(UpdatePersistentResourceRequest other)
Parameter
NameDescription
otherUpdatePersistentResourceRequest
Returns
TypeDescription
UpdatePersistentResourceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public UpdatePersistentResourceRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePersistentResource
Returns
TypeDescription
UpdatePersistentResourceRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePersistentResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdatePersistentResourceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdatePersistentResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta1.PersistentResource persistent_resource = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuePersistentResource
Returns
TypeDescription
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
NameDescription
builderForValuePersistentResource.Builder
Returns
TypeDescription
UpdatePersistentResourceRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdatePersistentResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdatePersistentResourceRequest.Builder