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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GetSnapshotRequest.Builder> implements GetSnapshotRequestOrBuilder
Request to get information about a snapshot
Protobuf typegoogle.dataflow.v1beta3.GetSnapshotRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GetSnapshotRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetSnapshotRequestbuild()GetSnapshotRequestbuildPartial()GetSnapshotRequest.Builderclear()GetSnapshotRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GetSnapshotRequest.BuilderclearLocation()The location that contains this snapshot.GetSnapshotRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GetSnapshotRequest.BuilderclearProjectId()The ID of the Cloud Platform project that the snapshot belongs to.GetSnapshotRequest.BuilderclearSnapshotId()The ID of the snapshot.GetSnapshotRequest.Builderclone()GetSnapshotRequestgetDefaultInstanceForType()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()GetSnapshotRequest.BuildermergeFrom(GetSnapshotRequest other)GetSnapshotRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GetSnapshotRequest.BuildermergeFrom(com.google.protobuf.Message other)GetSnapshotRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GetSnapshotRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GetSnapshotRequest.BuildersetLocation(String value)The location that contains this snapshot.GetSnapshotRequest.BuildersetLocationBytes(com.google.protobuf.ByteString value)The location that contains this snapshot.GetSnapshotRequest.BuildersetProjectId(String value)The ID of the Cloud Platform project that the snapshot belongs to.GetSnapshotRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)The ID of the Cloud Platform project that the snapshot belongs to.GetSnapshotRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GetSnapshotRequest.BuildersetSnapshotId(String value)The ID of the snapshot.GetSnapshotRequest.BuildersetSnapshotIdBytes(com.google.protobuf.ByteString value)The ID of the snapshot.GetSnapshotRequest.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<GetSnapshotRequest.Builder>
-
clear
public GetSnapshotRequest.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<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.GeneratedMessageV3.Builder<GetSnapshotRequest.Builder>
-
getDefaultInstanceForType
public GetSnapshotRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GetSnapshotRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GetSnapshotRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GetSnapshotRequest.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<GetSnapshotRequest.Builder>
-
setField
public GetSnapshotRequest.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<GetSnapshotRequest.Builder>
-
clearField
public GetSnapshotRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSnapshotRequest.Builder>
-
clearOneof
public GetSnapshotRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSnapshotRequest.Builder>
-
setRepeatedField
public GetSnapshotRequest.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<GetSnapshotRequest.Builder>
-
addRepeatedField
public GetSnapshotRequest.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<GetSnapshotRequest.Builder>
-
mergeFrom
public GetSnapshotRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetSnapshotRequest.Builder>
-
mergeFrom
public GetSnapshotRequest.Builder mergeFrom(GetSnapshotRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public GetSnapshotRequest.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 GetSnapshotRequest.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 GetSnapshotRequest.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 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
public GetSnapshotRequest.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 GetSnapshotRequest.Builder clearSnapshotId()
The ID of the snapshot.
string snapshot_id = 2;- Returns:
- This builder for chaining.
-
setSnapshotIdBytes
public GetSnapshotRequest.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 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
public GetSnapshotRequest.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 GetSnapshotRequest.Builder clearLocation()
The location that contains this snapshot.
string location = 3;- Returns:
- This builder for chaining.
-
setLocationBytes
public GetSnapshotRequest.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 GetSnapshotRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSnapshotRequest.Builder>
-
mergeUnknownFields
public final GetSnapshotRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetSnapshotRequest.Builder>
-
-