Class PubSubIODetails (0.21.0)

public final class PubSubIODetails extends GeneratedMessageV3 implements PubSubIODetailsOrBuilder

Metadata for a Pub/Sub connector used by the job.

Protobuf type google.dataflow.v1beta3.PubSubIODetails

Static Fields

SUBSCRIPTION_FIELD_NUMBER

public static final int SUBSCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

TOPIC_FIELD_NUMBER

public static final int TOPIC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PubSubIODetails getDefaultInstance()
Returns
TypeDescription
PubSubIODetails

getDescriptor()

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

newBuilder()

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

newBuilder(PubSubIODetails prototype)

public static PubSubIODetails.Builder newBuilder(PubSubIODetails prototype)
Parameter
NameDescription
prototypePubSubIODetails
Returns
TypeDescription
PubSubIODetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public PubSubIODetails getDefaultInstanceForType()
Returns
TypeDescription
PubSubIODetails

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSubscription()

public String getSubscription()

Subscription used in the connection.

string subscription = 2;

Returns
TypeDescription
String

The subscription.

getSubscriptionBytes()

public ByteString getSubscriptionBytes()

Subscription used in the connection.

string subscription = 2;

Returns
TypeDescription
ByteString

The bytes for subscription.

getTopic()

public String getTopic()

Topic accessed in the connection.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public ByteString getTopicBytes()

Topic accessed in the connection.

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 PubSubIODetails.Builder newBuilderForType()
Returns
TypeDescription
PubSubIODetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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