Package com.google.dataflow.v1beta3
Class DeleteSnapshotRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
- com.google.dataflow.v1beta3.DeleteSnapshotRequest.Builder
-
- All Implemented Interfaces:
DeleteSnapshotRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeleteSnapshotRequest
public static final class DeleteSnapshotRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder> implements DeleteSnapshotRequestOrBuilder
Request to delete a snapshot.
Protobuf typegoogle.dataflow.v1beta3.DeleteSnapshotRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteSnapshotRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeleteSnapshotRequestbuild()DeleteSnapshotRequestbuildPartial()DeleteSnapshotRequest.Builderclear()DeleteSnapshotRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)DeleteSnapshotRequest.BuilderclearLocation()The location that contains this snapshot.DeleteSnapshotRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)DeleteSnapshotRequest.BuilderclearProjectId()The ID of the Cloud Platform project that the snapshot belongs to.DeleteSnapshotRequest.BuilderclearSnapshotId()The ID of the snapshot.DeleteSnapshotRequest.Builderclone()DeleteSnapshotRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLocation()The location that contains this snapshot.com.google.protobuf.ByteStringgetLocationBytes()The location that contains this snapshot.StringgetProjectId()The ID of the Cloud Platform project that the snapshot belongs to.com.google.protobuf.ByteStringgetProjectIdBytes()The ID of the Cloud Platform project that the snapshot belongs to.StringgetSnapshotId()The ID of the snapshot.com.google.protobuf.ByteStringgetSnapshotIdBytes()The ID of the snapshot.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()DeleteSnapshotRequest.BuildermergeFrom(DeleteSnapshotRequest other)DeleteSnapshotRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)DeleteSnapshotRequest.BuildermergeFrom(com.google.protobuf.Message other)DeleteSnapshotRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)DeleteSnapshotRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)DeleteSnapshotRequest.BuildersetLocation(String value)The location that contains this snapshot.DeleteSnapshotRequest.BuildersetLocationBytes(com.google.protobuf.ByteString value)The location that contains this snapshot.DeleteSnapshotRequest.BuildersetProjectId(String value)The ID of the Cloud Platform project that the snapshot belongs to.DeleteSnapshotRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)The ID of the Cloud Platform project that the snapshot belongs to.DeleteSnapshotRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)DeleteSnapshotRequest.BuildersetSnapshotId(String value)The ID of the snapshot.DeleteSnapshotRequest.BuildersetSnapshotIdBytes(com.google.protobuf.ByteString value)The ID of the snapshot.DeleteSnapshotRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
clear
public DeleteSnapshotRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
getDefaultInstanceForType
public DeleteSnapshotRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeleteSnapshotRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeleteSnapshotRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeleteSnapshotRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
setField
public DeleteSnapshotRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
clearField
public DeleteSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
clearOneof
public DeleteSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
setRepeatedField
public DeleteSnapshotRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
addRepeatedField
public DeleteSnapshotRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
mergeFrom
public DeleteSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeleteSnapshotRequest.Builder>
-
mergeFrom
public DeleteSnapshotRequest.Builder mergeFrom(DeleteSnapshotRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
mergeFrom
public DeleteSnapshotRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeleteSnapshotRequest.Builder>- Throws:
IOException
-
getProjectId
public String getProjectId()
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceDeleteSnapshotRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Specified by:
getProjectIdBytesin interfaceDeleteSnapshotRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
public DeleteSnapshotRequest.Builder setProjectId(String value)
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public DeleteSnapshotRequest.Builder clearProjectId()
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public DeleteSnapshotRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getSnapshotId
public String getSnapshotId()
The ID of the snapshot.
string snapshot_id = 2;- Specified by:
getSnapshotIdin interfaceDeleteSnapshotRequestOrBuilder- Returns:
- The snapshotId.
-
getSnapshotIdBytes
public com.google.protobuf.ByteString getSnapshotIdBytes()
The ID of the snapshot.
string snapshot_id = 2;- Specified by:
getSnapshotIdBytesin interfaceDeleteSnapshotRequestOrBuilder- Returns:
- The bytes for snapshotId.
-
setSnapshotId
public DeleteSnapshotRequest.Builder setSnapshotId(String value)
The ID of the snapshot.
string snapshot_id = 2;- Parameters:
value- The snapshotId to set.- Returns:
- This builder for chaining.
-
clearSnapshotId
public DeleteSnapshotRequest.Builder clearSnapshotId()
The ID of the snapshot.
string snapshot_id = 2;- Returns:
- This builder for chaining.
-
setSnapshotIdBytes
public DeleteSnapshotRequest.Builder setSnapshotIdBytes(com.google.protobuf.ByteString value)
The ID of the snapshot.
string snapshot_id = 2;- Parameters:
value- The bytes for snapshotId to set.- Returns:
- This builder for chaining.
-
getLocation
public String getLocation()
The location that contains this snapshot.
string location = 3;- Specified by:
getLocationin interfaceDeleteSnapshotRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
The location that contains this snapshot.
string location = 3;- Specified by:
getLocationBytesin interfaceDeleteSnapshotRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
public DeleteSnapshotRequest.Builder setLocation(String value)
The location that contains this snapshot.
string location = 3;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public DeleteSnapshotRequest.Builder clearLocation()
The location that contains this snapshot.
string location = 3;- Returns:
- This builder for chaining.
-
setLocationBytes
public DeleteSnapshotRequest.Builder setLocationBytes(com.google.protobuf.ByteString value)
The location that contains this snapshot.
string location = 3;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DeleteSnapshotRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
mergeUnknownFields
public final DeleteSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
-