Class MongodbChangeStreamPosition.Builder (1.102.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class MongodbChangeStreamPosition.Builder extends GeneratedMessage.Builder<MongodbChangeStreamPosition.Builder> implements MongodbChangeStreamPositionOrBuilder
MongoDB change stream position
Protobuf type google.cloud.datastream.v1.MongodbChangeStreamPosition
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public MongodbChangeStreamPosition build()
buildPartial()
public MongodbChangeStreamPosition buildPartial()
clear()
public MongodbChangeStreamPosition.Builder clear()
Overrides
clearStartTime()
public MongodbChangeStreamPosition.Builder clearStartTime()
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public MongodbChangeStreamPosition getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getStartTime()
public Timestamp getStartTime()
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
hasStartTime()
public boolean hasStartTime()
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MongodbChangeStreamPosition other)
public MongodbChangeStreamPosition.Builder mergeFrom(MongodbChangeStreamPosition other)
public MongodbChangeStreamPosition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MongodbChangeStreamPosition.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeStartTime(Timestamp value)
public MongodbChangeStreamPosition.Builder mergeStartTime(Timestamp value)
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
setStartTime(Timestamp value)
public MongodbChangeStreamPosition.Builder setStartTime(Timestamp value)
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
setStartTime(Timestamp.Builder builderForValue)
public MongodbChangeStreamPosition.Builder setStartTime(Timestamp.Builder builderForValue)
Required. The timestamp to start change stream from.
.google.protobuf.Timestamp start_time = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-20 UTC.
[null,null,["Last updated 2026-11-20 UTC."],[],[]]