public static final class PubsubSnapshotMetadata.Builder extends GeneratedMessageV3.Builder<PubsubSnapshotMetadata.Builder> implements PubsubSnapshotMetadataOrBuilder
Represents a Pubsub snapshot.
Protobuf type google.dataflow.v1beta3.PubsubSnapshotMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public PubsubSnapshotMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public PubsubSnapshotMetadata build()
Returns
public PubsubSnapshotMetadata buildPartial()
Returns
public PubsubSnapshotMetadata.Builder clear()
Returns
Overrides
public PubsubSnapshotMetadata.Builder clearExpireTime()
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Returns
public PubsubSnapshotMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public PubsubSnapshotMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public PubsubSnapshotMetadata.Builder clearSnapshotName()
The name of the Pubsub snapshot.
string snapshot_name = 2;
Returns
public PubsubSnapshotMetadata.Builder clearTopicName()
The name of the Pubsub topic.
string topic_name = 1;
Returns
public PubsubSnapshotMetadata.Builder clone()
Returns
Overrides
public PubsubSnapshotMetadata getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public Timestamp getExpireTime()
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Returns
public Timestamp.Builder getExpireTimeBuilder()
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Returns
public TimestampOrBuilder getExpireTimeOrBuilder()
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Returns
public String getSnapshotName()
The name of the Pubsub snapshot.
string snapshot_name = 2;
Returns
Type | Description |
String | The snapshotName.
|
public ByteString getSnapshotNameBytes()
The name of the Pubsub snapshot.
string snapshot_name = 2;
Returns
Type | Description |
ByteString | The bytes for snapshotName.
|
public String getTopicName()
The name of the Pubsub topic.
string topic_name = 1;
Returns
Type | Description |
String | The topicName.
|
public ByteString getTopicNameBytes()
The name of the Pubsub topic.
string topic_name = 1;
Returns
public boolean hasExpireTime()
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Returns
Type | Description |
boolean | Whether the expireTime field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PubsubSnapshotMetadata.Builder mergeExpireTime(Timestamp value)
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Parameter
Returns
public PubsubSnapshotMetadata.Builder mergeFrom(PubsubSnapshotMetadata other)
Parameter
Returns
public PubsubSnapshotMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public PubsubSnapshotMetadata.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final PubsubSnapshotMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public PubsubSnapshotMetadata.Builder setExpireTime(Timestamp value)
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Parameter
Returns
public PubsubSnapshotMetadata.Builder setExpireTime(Timestamp.Builder builderForValue)
The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
public PubsubSnapshotMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public PubsubSnapshotMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public PubsubSnapshotMetadata.Builder setSnapshotName(String value)
The name of the Pubsub snapshot.
string snapshot_name = 2;
Parameter
Name | Description |
value | String
The snapshotName to set.
|
Returns
public PubsubSnapshotMetadata.Builder setSnapshotNameBytes(ByteString value)
The name of the Pubsub snapshot.
string snapshot_name = 2;
Parameter
Name | Description |
value | ByteString
The bytes for snapshotName to set.
|
Returns
public PubsubSnapshotMetadata.Builder setTopicName(String value)
The name of the Pubsub topic.
string topic_name = 1;
Parameter
Name | Description |
value | String
The topicName to set.
|
Returns
public PubsubSnapshotMetadata.Builder setTopicNameBytes(ByteString value)
The name of the Pubsub topic.
string topic_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for topicName to set.
|
Returns
public final PubsubSnapshotMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides