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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdatePersistentResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdatePersistentResourceRequest build()
public UpdatePersistentResourceRequest buildPartial()
public UpdatePersistentResourceRequest.Builder clear()
Overrides
public UpdatePersistentResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdatePersistentResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
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];
public UpdatePersistentResourceRequest.Builder clone()
Overrides
public UpdatePersistentResourceRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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.
|
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];
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];
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdatePersistentResourceRequest.Builder mergeFrom(UpdatePersistentResourceRequest other)
public UpdatePersistentResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdatePersistentResourceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
public final UpdatePersistentResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
public UpdatePersistentResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
public UpdatePersistentResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UpdatePersistentResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|