public static final class Storage.StreamPosition.Builder extends GeneratedMessageV3.Builder<Storage.StreamPosition.Builder> implements Storage.StreamPositionOrBuilder
Expresses a point within a given stream using an offset position.
Protobuf type google.cloud.bigquery.storage.v1beta1.StreamPosition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Storage.StreamPosition.BuilderImplements
Storage.StreamPositionOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.StreamPosition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.StreamPosition.Builder |
build()
public Storage.StreamPosition build()
Type | Description |
Storage.StreamPosition |
buildPartial()
public Storage.StreamPosition buildPartial()
Type | Description |
Storage.StreamPosition |
clear()
public Storage.StreamPosition.Builder clear()
Type | Description |
Storage.StreamPosition.Builder |
clearField(Descriptors.FieldDescriptor field)
public Storage.StreamPosition.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Storage.StreamPosition.Builder |
clearOffset()
public Storage.StreamPosition.Builder clearOffset()
Position in the stream.
int64 offset = 2;
Type | Description |
Storage.StreamPosition.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.StreamPosition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Storage.StreamPosition.Builder |
clearStream()
public Storage.StreamPosition.Builder clearStream()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Type | Description |
Storage.StreamPosition.Builder |
clone()
public Storage.StreamPosition.Builder clone()
Type | Description |
Storage.StreamPosition.Builder |
getDefaultInstanceForType()
public Storage.StreamPosition getDefaultInstanceForType()
Type | Description |
Storage.StreamPosition |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getOffset()
public long getOffset()
Position in the stream.
int64 offset = 2;
Type | Description |
long | The offset. |
getStream()
public Storage.Stream getStream()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Type | Description |
Storage.Stream | The stream. |
getStreamBuilder()
public Storage.Stream.Builder getStreamBuilder()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Type | Description |
Storage.Stream.Builder |
getStreamOrBuilder()
public Storage.StreamOrBuilder getStreamOrBuilder()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Type | Description |
Storage.StreamOrBuilder |
hasStream()
public boolean hasStream()
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Type | Description |
boolean | Whether the stream field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Storage.StreamPosition other)
public Storage.StreamPosition.Builder mergeFrom(Storage.StreamPosition other)
Name | Description |
other | Storage.StreamPosition |
Type | Description |
Storage.StreamPosition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.StreamPosition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.StreamPosition.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Storage.StreamPosition.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Storage.StreamPosition.Builder |
mergeStream(Storage.Stream value)
public Storage.StreamPosition.Builder mergeStream(Storage.Stream value)
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Name | Description |
value | Storage.Stream |
Type | Description |
Storage.StreamPosition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.StreamPosition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.StreamPosition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.StreamPosition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.StreamPosition.Builder |
setOffset(long value)
public Storage.StreamPosition.Builder setOffset(long value)
Position in the stream.
int64 offset = 2;
Name | Description |
value | long The offset to set. |
Type | Description |
Storage.StreamPosition.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.StreamPosition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Storage.StreamPosition.Builder |
setStream(Storage.Stream value)
public Storage.StreamPosition.Builder setStream(Storage.Stream value)
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Name | Description |
value | Storage.Stream |
Type | Description |
Storage.StreamPosition.Builder |
setStream(Storage.Stream.Builder builderForValue)
public Storage.StreamPosition.Builder setStream(Storage.Stream.Builder builderForValue)
Identifier for a given Stream.
.google.cloud.bigquery.storage.v1beta1.Stream stream = 1;
Name | Description |
builderForValue | Storage.Stream.Builder |
Type | Description |
Storage.StreamPosition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.StreamPosition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.StreamPosition.Builder |