public final class PubsubSnapshotMetadata extends GeneratedMessageV3 implements PubsubSnapshotMetadataOrBuilder
Represents a Pubsub snapshot.
Protobuf type google.dataflow.v1beta3.PubsubSnapshotMetadata
Static Fields
public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
public static final int SNAPSHOT_NAME_FIELD_NUMBER
Field Value
public static final int TOPIC_NAME_FIELD_NUMBER
Field Value
Static Methods
public static PubsubSnapshotMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static PubsubSnapshotMetadata.Builder newBuilder()
Returns
public static PubsubSnapshotMetadata.Builder newBuilder(PubsubSnapshotMetadata prototype)
Parameter
Returns
public static PubsubSnapshotMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PubsubSnapshotMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static PubsubSnapshotMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<PubsubSnapshotMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public PubsubSnapshotMetadata getDefaultInstanceForType()
Returns
public Timestamp getExpireTime()
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 Parser<PubsubSnapshotMetadata> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
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 final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PubsubSnapshotMetadata.Builder newBuilderForType()
Returns
protected PubsubSnapshotMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public PubsubSnapshotMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions