Class Payload (2.14.0)

public final class Payload extends GeneratedMessageV3 implements PayloadOrBuilder

Payload for EgressRequest.

Protobuf type google.cloud.apigeeconnect.v1.Payload

Implements

PayloadOrBuilder

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

HTTP_REQUEST_FIELD_NUMBER

public static final int HTTP_REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

STREAM_INFO_FIELD_NUMBER

public static final int STREAM_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Payload getDefaultInstance()
Returns
TypeDescription
Payload

getDescriptor()

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

newBuilder()

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

newBuilder(Payload prototype)

public static Payload.Builder newBuilder(Payload prototype)
Parameter
NameDescription
prototypePayload
Returns
TypeDescription
Payload.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public Action getAction()

The action taken by agent.

.google.cloud.apigeeconnect.v1.Action action = 3;

Returns
TypeDescription
Action

The action.

getActionValue()

public int getActionValue()

The action taken by agent.

.google.cloud.apigeeconnect.v1.Action action = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for action.

getDefaultInstanceForType()

public Payload getDefaultInstanceForType()
Returns
TypeDescription
Payload

getHttpRequest()

public HttpRequest getHttpRequest()

The HttpRequest proto.

.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;

Returns
TypeDescription
HttpRequest

The httpRequest.

getHttpRequestOrBuilder()

public HttpRequestOrBuilder getHttpRequestOrBuilder()

The HttpRequest proto.

.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;

Returns
TypeDescription
HttpRequestOrBuilder

getKindCase()

public Payload.KindCase getKindCase()
Returns
TypeDescription
Payload.KindCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStreamInfo()

public StreamInfo getStreamInfo()

The information of stream.

.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;

Returns
TypeDescription
StreamInfo

The streamInfo.

getStreamInfoOrBuilder()

public StreamInfoOrBuilder getStreamInfoOrBuilder()

The information of stream.

.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;

Returns
TypeDescription
StreamInfoOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAction()

public boolean hasAction()

The action taken by agent.

.google.cloud.apigeeconnect.v1.Action action = 3;

Returns
TypeDescription
boolean

Whether the action field is set.

hasHttpRequest()

public boolean hasHttpRequest()

The HttpRequest proto.

.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;

Returns
TypeDescription
boolean

Whether the httpRequest field is set.

hasStreamInfo()

public boolean hasStreamInfo()

The information of stream.

.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;

Returns
TypeDescription
boolean

Whether the streamInfo 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 Payload.Builder newBuilderForType()
Returns
TypeDescription
Payload.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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