public final class PubsubSnapshotMetadata extends GeneratedMessage implements PubsubSnapshotMetadataOrBuilderRepresents a Pubsub snapshot.
Protobuf type google.dataflow.v1beta3.PubsubSnapshotMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PubsubSnapshotMetadataImplements
PubsubSnapshotMetadataOrBuilderStatic 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 |
|
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> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public PubsubSnapshotMetadata.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PubsubSnapshotMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
toBuilder()
public PubsubSnapshotMetadata.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PubsubSnapshotMetadata.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|