Class PubsubSnapshotMetadata (0.24.0)

public final class PubsubSnapshotMetadata extends GeneratedMessageV3 implements PubsubSnapshotMetadataOrBuilder

Represents a Pubsub snapshot.

Protobuf type google.dataflow.v1beta3.PubsubSnapshotMetadata

Static Fields

EXPIRE_TIME_FIELD_NUMBER

public static final int EXPIRE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

SNAPSHOT_NAME_FIELD_NUMBER

public static final int SNAPSHOT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TOPIC_NAME_FIELD_NUMBER

public static final int TOPIC_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PubsubSnapshotMetadata getDefaultInstance()
Returns
TypeDescription
PubsubSnapshotMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PubsubSnapshotMetadata.Builder newBuilder()
Returns
TypeDescription
PubsubSnapshotMetadata.Builder

newBuilder(PubsubSnapshotMetadata prototype)

public static PubsubSnapshotMetadata.Builder newBuilder(PubsubSnapshotMetadata prototype)
Parameter
NameDescription
prototypePubsubSnapshotMetadata
Returns
TypeDescription
PubsubSnapshotMetadata.Builder

parseDelimitedFrom(InputStream input)

public static PubsubSnapshotMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PubsubSnapshotMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PubsubSnapshotMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PubsubSnapshotMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PubsubSnapshotMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PubsubSnapshotMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PubsubSnapshotMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PubsubSnapshotMetadata> parser()
Returns
TypeDescription
Parser<PubsubSnapshotMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PubsubSnapshotMetadata getDefaultInstanceForType()
Returns
TypeDescription
PubsubSnapshotMetadata

getExpireTime()

public Timestamp getExpireTime()

The expire time of the Pubsub snapshot.

.google.protobuf.Timestamp expire_time = 3;

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

The expire time of the Pubsub snapshot.

.google.protobuf.Timestamp expire_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getParserForType()

public Parser<PubsubSnapshotMetadata> getParserForType()
Returns
TypeDescription
Parser<PubsubSnapshotMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSnapshotName()

public String getSnapshotName()

The name of the Pubsub snapshot.

string snapshot_name = 2;

Returns
TypeDescription
String

The snapshotName.

getSnapshotNameBytes()

public ByteString getSnapshotNameBytes()

The name of the Pubsub snapshot.

string snapshot_name = 2;

Returns
TypeDescription
ByteString

The bytes for snapshotName.

getTopicName()

public String getTopicName()

The name of the Pubsub topic.

string topic_name = 1;

Returns
TypeDescription
String

The topicName.

getTopicNameBytes()

public ByteString getTopicNameBytes()

The name of the Pubsub topic.

string topic_name = 1;

Returns
TypeDescription
ByteString

The bytes for topicName.

hasExpireTime()

public boolean hasExpireTime()

The expire time of the Pubsub snapshot.

.google.protobuf.Timestamp expire_time = 3;

Returns
TypeDescription
boolean

Whether the expireTime field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PubsubSnapshotMetadata.Builder newBuilderForType()
Returns
TypeDescription
PubsubSnapshotMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PubsubSnapshotMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PubsubSnapshotMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PubsubSnapshotMetadata.Builder toBuilder()
Returns
TypeDescription
PubsubSnapshotMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException