public final class Payload extends GeneratedMessageV3 implements PayloadOrBuilder
Payload for EgressRequest.
Protobuf type google.cloud.apigeeconnect.v1.Payload
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value
HTTP_REQUEST_FIELD_NUMBER
public static final int HTTP_REQUEST_FIELD_NUMBER
Field Value
STREAM_INFO_FIELD_NUMBER
public static final int STREAM_INFO_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Payload getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Payload.Builder newBuilder()
Returns
newBuilder(Payload prototype)
public static Payload.Builder newBuilder(Payload prototype)
Parameter
Returns
public static Payload parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Payload parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Payload parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Payload parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Payload parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Payload parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Payload parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Payload parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Payload parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Payload parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Payload parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Payload parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Payload> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getHttpRequest()
public HttpRequest getHttpRequest()
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Returns
getHttpRequestOrBuilder()
public HttpRequestOrBuilder getHttpRequestOrBuilder()
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Returns
getKindCase()
public Payload.KindCase getKindCase()
Returns
getParserForType()
public Parser<Payload> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStreamInfo()
public StreamInfo getStreamInfo()
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Returns
getStreamInfoOrBuilder()
public StreamInfoOrBuilder getStreamInfoOrBuilder()
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Payload.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Payload.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Payload.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions