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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeleteSnapshotRequest
build()
DeleteSnapshotRequest
buildPartial()
DeleteSnapshotRequest.Builder
clear()
DeleteSnapshotRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DeleteSnapshotRequest.Builder
clearLocation()
The location that contains this snapshot.DeleteSnapshotRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DeleteSnapshotRequest.Builder
clearProjectId()
The ID of the Cloud Platform project that the snapshot belongs to.DeleteSnapshotRequest.Builder
clearSnapshotId()
The ID of the snapshot.DeleteSnapshotRequest.Builder
clone()
DeleteSnapshotRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLocation()
The location that contains this snapshot.com.google.protobuf.ByteString
getLocationBytes()
The location that contains this snapshot.String
getProjectId()
The ID of the Cloud Platform project that the snapshot belongs to.com.google.protobuf.ByteString
getProjectIdBytes()
The ID of the Cloud Platform project that the snapshot belongs to.String
getSnapshotId()
The ID of the snapshot.com.google.protobuf.ByteString
getSnapshotIdBytes()
The ID of the snapshot.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
DeleteSnapshotRequest.Builder
mergeFrom(DeleteSnapshotRequest other)
DeleteSnapshotRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DeleteSnapshotRequest.Builder
mergeFrom(com.google.protobuf.Message other)
DeleteSnapshotRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DeleteSnapshotRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DeleteSnapshotRequest.Builder
setLocation(String value)
The location that contains this snapshot.DeleteSnapshotRequest.Builder
setLocationBytes(com.google.protobuf.ByteString value)
The location that contains this snapshot.DeleteSnapshotRequest.Builder
setProjectId(String value)
The ID of the Cloud Platform project that the snapshot belongs to.DeleteSnapshotRequest.Builder
setProjectIdBytes(com.google.protobuf.ByteString value)
The ID of the Cloud Platform project that the snapshot belongs to.DeleteSnapshotRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DeleteSnapshotRequest.Builder
setSnapshotId(String value)
The ID of the snapshot.DeleteSnapshotRequest.Builder
setSnapshotIdBytes(com.google.protobuf.ByteString value)
The ID of the snapshot.DeleteSnapshotRequest.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
clear
public DeleteSnapshotRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
getDefaultInstanceForType
public DeleteSnapshotRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DeleteSnapshotRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DeleteSnapshotRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DeleteSnapshotRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
setField
public DeleteSnapshotRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
clearField
public DeleteSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
clearOneof
public DeleteSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
setRepeatedField
public DeleteSnapshotRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
addRepeatedField
public DeleteSnapshotRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
mergeFrom
public DeleteSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DeleteSnapshotRequest.Builder>
-
mergeFrom
public DeleteSnapshotRequest.Builder mergeFrom(DeleteSnapshotRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getProjectId
in 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:
getProjectIdBytes
in 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:
getSnapshotId
in interfaceDeleteSnapshotRequestOrBuilder
- Returns:
- The snapshotId.
-
getSnapshotIdBytes
public com.google.protobuf.ByteString getSnapshotIdBytes()
The ID of the snapshot.
string snapshot_id = 2;
- Specified by:
getSnapshotIdBytes
in 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:
getLocation
in interfaceDeleteSnapshotRequestOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
The location that contains this snapshot.
string location = 3;
- Specified by:
getLocationBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
mergeUnknownFields
public final DeleteSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DeleteSnapshotRequest.Builder>
-
-