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