Class Payload.Builder (2.43.0)

public static final class Payload.Builder extends GeneratedMessageV3.Builder<Payload.Builder> implements PayloadOrBuilder

Payload for EgressRequest.

Protobuf type google.cloud.apigeeconnect.v1.Payload

Implements

PayloadOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Payload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Payload.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Payload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Payload.Builder
Overrides

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Payload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Payload.Builder
Overrides

clearStreamInfo()

public Payload.Builder clearStreamInfo()

The information of stream.

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

Returns
Type Description
Payload.Builder

clone()

public Payload.Builder clone()
Returns
Type Description
Payload.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Payload.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Payload.Builder
Overrides

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Payload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Payload.Builder
Overrides

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 Action

The 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 int

The enum numeric value on the wire for action to set.

Returns
Type Description
Payload.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Payload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Payload.Builder
Overrides

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Payload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Payload.Builder
Overrides

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Payload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Payload.Builder
Overrides