Class Payload (2.45.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
Type Description
int

HTTP_REQUEST_FIELD_NUMBER

public static final int HTTP_REQUEST_FIELD_NUMBER
Field Value
Type Description
int

STREAM_INFO_FIELD_NUMBER

public static final int STREAM_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Payload getDefaultInstance()
Returns
Type Description
Payload

getDescriptor()

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

newBuilder()

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

newBuilder(Payload prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAction()

public Action getAction()

The action taken by agent.

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

Returns
Type Description
Action

The action.

getActionValue()

public int getActionValue()

The action taken by agent.

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

Returns
Type Description
int

The enum numeric value on the wire for action.

getDefaultInstanceForType()

public Payload getDefaultInstanceForType()
Returns
Type Description
Payload

getHttpRequest()

public HttpRequest getHttpRequest()

The HttpRequest proto.

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

Returns
Type Description
HttpRequest

The httpRequest.

getHttpRequestOrBuilder()

public HttpRequestOrBuilder getHttpRequestOrBuilder()

The HttpRequest proto.

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

Returns
Type Description
HttpRequestOrBuilder

getKindCase()

public Payload.KindCase getKindCase()
Returns
Type Description
Payload.KindCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStreamInfo()

public StreamInfo getStreamInfo()

The information of stream.

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

Returns
Type Description
StreamInfo

The streamInfo.

getStreamInfoOrBuilder()

public StreamInfoOrBuilder getStreamInfoOrBuilder()

The information of stream.

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

Returns
Type Description
StreamInfoOrBuilder

hasAction()

public boolean hasAction()

The action taken by agent.

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

Returns
Type Description
boolean

Whether the action field is set.

hasHttpRequest()

public boolean hasHttpRequest()

The HttpRequest proto.

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

Returns
Type Description
boolean

Whether the httpRequest field is set.

hasStreamInfo()

public boolean hasStreamInfo()

The information of stream.

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

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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