public static final class Payload.Builder extends GeneratedMessage.Builder<Payload.Builder> implements PayloadOrBuilderPayload for EgressRequest.
Protobuf type google.cloud.apigeeconnect.v1.Payload
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Payload.BuilderImplements
PayloadOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Payload build()| Returns | |
|---|---|
| Type | Description |
Payload |
|
buildPartial()
public Payload buildPartial()| Returns | |
|---|---|
| Type | Description |
Payload |
|
clear()
public Payload.Builder clear()| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
clearAction()
public Payload.Builder clearAction()The action taken by agent.
.google.cloud.apigeeconnect.v1.Action action = 3;
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
This builder for chaining. |
clearHttpRequest()
public Payload.Builder clearHttpRequest()The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
clearKind()
public Payload.Builder clearKind()| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
clearStreamInfo()
public Payload.Builder clearStreamInfo()The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHttpRequest()
public HttpRequest getHttpRequest()The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
| Returns | |
|---|---|
| Type | Description |
HttpRequest |
The httpRequest. |
getHttpRequestBuilder()
public HttpRequest.Builder getHttpRequestBuilder()The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
| Returns | |
|---|---|
| Type | Description |
HttpRequest.Builder |
|
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 |
|
getStreamInfo()
public StreamInfo getStreamInfo()The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
| Returns | |
|---|---|
| Type | Description |
StreamInfo |
The streamInfo. |
getStreamInfoBuilder()
public StreamInfo.Builder getStreamInfoBuilder()The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
| Returns | |
|---|---|
| Type | Description |
StreamInfo.Builder |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Payload other)
public Payload.Builder mergeFrom(Payload other)| Parameter | |
|---|---|
| Name | Description |
other |
Payload |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Payload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Payload.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
mergeHttpRequest(HttpRequest value)
public Payload.Builder mergeHttpRequest(HttpRequest value)The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
HttpRequest |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
mergeStreamInfo(StreamInfo value)
public Payload.Builder mergeStreamInfo(StreamInfo value)The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamInfo |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
setAction(Action value)
public Payload.Builder setAction(Action value)The action taken by agent.
.google.cloud.apigeeconnect.v1.Action action = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ActionThe action to set. |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
This builder for chaining. |
setActionValue(int value)
public Payload.Builder setActionValue(int value)The action taken by agent.
.google.cloud.apigeeconnect.v1.Action action = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for action to set. |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
This builder for chaining. |
setHttpRequest(HttpRequest value)
public Payload.Builder setHttpRequest(HttpRequest value)The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
HttpRequest |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
setHttpRequest(HttpRequest.Builder builderForValue)
public Payload.Builder setHttpRequest(HttpRequest.Builder builderForValue)The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
HttpRequest.Builder |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
setStreamInfo(StreamInfo value)
public Payload.Builder setStreamInfo(StreamInfo value)The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StreamInfo |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|
setStreamInfo(StreamInfo.Builder builderForValue)
public Payload.Builder setStreamInfo(StreamInfo.Builder builderForValue)The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StreamInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
Payload.Builder |
|