Class PubsubSnapshotMetadata (0.48.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
Type Description
int

SNAPSHOT_NAME_FIELD_NUMBER

public static final int SNAPSHOT_NAME_FIELD_NUMBER
Field Value
Type Description
int

TOPIC_NAME_FIELD_NUMBER

public static final int TOPIC_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PubsubSnapshotMetadata getDefaultInstance()
Returns
Type Description
PubsubSnapshotMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PubsubSnapshotMetadata.Builder newBuilder()
Returns
Type Description
PubsubSnapshotMetadata.Builder

newBuilder(PubsubSnapshotMetadata prototype)

public static PubsubSnapshotMetadata.Builder newBuilder(PubsubSnapshotMetadata prototype)
Parameter
Name Description
prototype PubsubSnapshotMetadata
Returns
Type Description
PubsubSnapshotMetadata.Builder

parseDelimitedFrom(InputStream input)

public static PubsubSnapshotMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PubsubSnapshotMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PubsubSnapshotMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PubsubSnapshotMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PubsubSnapshotMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PubsubSnapshotMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PubsubSnapshotMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PubsubSnapshotMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PubsubSnapshotMetadata> parser()
Returns
Type Description
Parser<PubsubSnapshotMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PubsubSnapshotMetadata getDefaultInstanceForType()
Returns
Type Description
PubsubSnapshotMetadata

getExpireTime()

public Timestamp getExpireTime()

The expire time of the Pubsub snapshot.

.google.protobuf.Timestamp expire_time = 3;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public TimestampOrBuilder getExpireTimeOrBuilder()

The expire time of the Pubsub snapshot.

.google.protobuf.Timestamp expire_time = 3;

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<PubsubSnapshotMetadata> getParserForType()
Returns
Type Description
Parser<PubsubSnapshotMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PubsubSnapshotMetadata.Builder newBuilderForType()
Returns
Type Description
PubsubSnapshotMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PubsubSnapshotMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PubsubSnapshotMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PubsubSnapshotMetadata.Builder toBuilder()
Returns
Type Description
PubsubSnapshotMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException