Package com.google.dataflow.v1beta3
Class GetSnapshotRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetSnapshotRequest.Builder>
com.google.dataflow.v1beta3.GetSnapshotRequest.Builder
- All Implemented Interfaces:
GetSnapshotRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- GetSnapshotRequest
public static final class GetSnapshotRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetSnapshotRequest.Builder>
implements GetSnapshotRequestOrBuilder
Request to get information about a snapshotProtobuf type
google.dataflow.v1beta3.GetSnapshotRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The location that contains this snapshot.The ID of the Cloud Platform project that the snapshot belongs to.The ID of the snapshot.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe location that contains this snapshot.com.google.protobuf.ByteStringThe location that contains this snapshot.The ID of the Cloud Platform project that the snapshot belongs to.com.google.protobuf.ByteStringThe ID of the Cloud Platform project that the snapshot belongs to.The ID of the snapshot.com.google.protobuf.ByteStringThe ID of the snapshot.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GetSnapshotRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setLocation(String value) The location that contains this snapshot.setLocationBytes(com.google.protobuf.ByteString value) The location that contains this snapshot.setProjectId(String value) The ID of the Cloud Platform project that the snapshot belongs to.setProjectIdBytes(com.google.protobuf.ByteString value) The ID of the Cloud Platform project that the snapshot belongs to.setSnapshotId(String value) The ID of the snapshot.setSnapshotIdBytes(com.google.protobuf.ByteString value) The ID of the snapshot.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetSnapshotRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetSnapshotRequest.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.GeneratedMessage.Builder<GetSnapshotRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetSnapshotRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetSnapshotRequest.Builder>
-
mergeFrom
public GetSnapshotRequest.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<GetSnapshotRequest.Builder>- Throws:
IOException
-
getProjectId
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Specified by:
getProjectIdin interfaceGetSnapshotRequestOrBuilder- 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 interfaceGetSnapshotRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
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
The ID of the Cloud Platform project that the snapshot belongs to.
string project_id = 1;- Returns:
- This builder for chaining.
-
setProjectIdBytes
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
The ID of the snapshot.
string snapshot_id = 2;- Specified by:
getSnapshotIdin interfaceGetSnapshotRequestOrBuilder- Returns:
- The snapshotId.
-
getSnapshotIdBytes
public com.google.protobuf.ByteString getSnapshotIdBytes()The ID of the snapshot.
string snapshot_id = 2;- Specified by:
getSnapshotIdBytesin interfaceGetSnapshotRequestOrBuilder- Returns:
- The bytes for snapshotId.
-
setSnapshotId
The ID of the snapshot.
string snapshot_id = 2;- Parameters:
value- The snapshotId to set.- Returns:
- This builder for chaining.
-
clearSnapshotId
The ID of the snapshot.
string snapshot_id = 2;- Returns:
- This builder for chaining.
-
setSnapshotIdBytes
The ID of the snapshot.
string snapshot_id = 2;- Parameters:
value- The bytes for snapshotId to set.- Returns:
- This builder for chaining.
-
getLocation
The location that contains this snapshot.
string location = 3;- Specified by:
getLocationin interfaceGetSnapshotRequestOrBuilder- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()The location that contains this snapshot.
string location = 3;- Specified by:
getLocationBytesin interfaceGetSnapshotRequestOrBuilder- Returns:
- The bytes for location.
-
setLocation
The location that contains this snapshot.
string location = 3;- Parameters:
value- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
The location that contains this snapshot.
string location = 3;- Returns:
- This builder for chaining.
-
setLocationBytes
The location that contains this snapshot.
string location = 3;- Parameters:
value- The bytes for location to set.- Returns:
- This builder for chaining.
-