public static final class PubsubSnapshotMetadata.Builder extends GeneratedMessage.Builder<PubsubSnapshotMetadata.Builder> implements PubsubSnapshotMetadataOrBuilderRepresents a Pubsub snapshot.
Protobuf type google.dataflow.v1beta3.PubsubSnapshotMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PubsubSnapshotMetadata.BuilderImplements
PubsubSnapshotMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PubsubSnapshotMetadata build()| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata |
|
buildPartial()
public PubsubSnapshotMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata |
|
clear()
public PubsubSnapshotMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
clearExpireTime()
public PubsubSnapshotMetadata.Builder clearExpireTime()The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
clearSnapshotName()
public PubsubSnapshotMetadata.Builder clearSnapshotName()The name of the Pubsub snapshot.
string snapshot_name = 2;
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
This builder for chaining. |
clearTopicName()
public PubsubSnapshotMetadata.Builder clearTopicName()The name of the Pubsub topic.
string topic_name = 1;
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PubsubSnapshotMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExpireTime()
public Timestamp getExpireTime()The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getSnapshotName()
public String getSnapshotName()The name of the Pubsub snapshot.
string snapshot_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The snapshotName. |
getSnapshotNameBytes()
public ByteString getSnapshotNameBytes()The name of the Pubsub snapshot.
string snapshot_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for snapshotName. |
getTopicName()
public String getTopicName()The name of the Pubsub topic.
string topic_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The topicName. |
getTopicNameBytes()
public ByteString getTopicNameBytes()The name of the Pubsub topic.
string topic_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for topicName. |
hasExpireTime()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeExpireTime(Timestamp value)
public PubsubSnapshotMetadata.Builder mergeExpireTime(Timestamp value)The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
mergeFrom(PubsubSnapshotMetadata other)
public PubsubSnapshotMetadata.Builder mergeFrom(PubsubSnapshotMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
PubsubSnapshotMetadata |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PubsubSnapshotMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PubsubSnapshotMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
setExpireTime(Timestamp value)
public PubsubSnapshotMetadata.Builder setExpireTime(Timestamp value)The expire time of the Pubsub snapshot.
.google.protobuf.Timestamp expire_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
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 | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
setSnapshotName(String value)
public PubsubSnapshotMetadata.Builder setSnapshotName(String value)The name of the Pubsub snapshot.
string snapshot_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe snapshotName to set. |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
This builder for chaining. |
setSnapshotNameBytes(ByteString value)
public PubsubSnapshotMetadata.Builder setSnapshotNameBytes(ByteString value)The name of the Pubsub snapshot.
string snapshot_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for snapshotName to set. |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
This builder for chaining. |
setTopicName(String value)
public PubsubSnapshotMetadata.Builder setTopicName(String value)The name of the Pubsub topic.
string topic_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe topicName to set. |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
This builder for chaining. |
setTopicNameBytes(ByteString value)
public PubsubSnapshotMetadata.Builder setTopicNameBytes(ByteString value)The name of the Pubsub topic.
string topic_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for topicName to set. |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
This builder for chaining. |