public static final class UpdateSnapshotRequest.Builder extends GeneratedMessageV3.Builder<UpdateSnapshotRequest.Builder> implements UpdateSnapshotRequestOrBuilder
UpdateSnapshotRequest updates description and/or labels for a snapshot.
Protobuf type google.cloud.filestore.v1beta1.UpdateSnapshotRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSnapshotRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateSnapshotRequest build()
Returns
buildPartial()
public UpdateSnapshotRequest buildPartial()
Returns
clear()
public UpdateSnapshotRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSnapshotRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSnapshotRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSnapshot()
public UpdateSnapshotRequest.Builder clearSnapshot()
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateSnapshotRequest.Builder clearUpdateMask()
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateSnapshotRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSnapshotRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSnapshot()
public Snapshot getSnapshot()
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSnapshotBuilder()
public Snapshot.Builder getSnapshotBuilder()
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getSnapshotOrBuilder()
public SnapshotOrBuilder getSnapshotOrBuilder()
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
hasSnapshot()
public boolean hasSnapshot()
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the snapshot field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UpdateSnapshotRequest other)
public UpdateSnapshotRequest.Builder mergeFrom(UpdateSnapshotRequest other)
Parameter
Returns
public UpdateSnapshotRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSnapshotRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSnapshot(Snapshot value)
public UpdateSnapshotRequest.Builder mergeSnapshot(Snapshot value)
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSnapshotRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSnapshotRequest.Builder mergeUpdateMask(FieldMask value)
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSnapshotRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSnapshotRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSnapshot(Snapshot value)
public UpdateSnapshotRequest.Builder setSnapshot(Snapshot value)
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSnapshot(Snapshot.Builder builderForValue)
public UpdateSnapshotRequest.Builder setSnapshot(Snapshot.Builder builderForValue)
Required. A snapshot resource
.google.cloud.filestore.v1beta1.Snapshot snapshot = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSnapshotRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateSnapshotRequest.Builder setUpdateMask(FieldMask value)
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSnapshotRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Mask of fields to update. At least one path must be supplied in this
field.
.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns