Class Payload.Builder (2.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Payload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Payload.Builder
Overrides

build()

public Payload build()
Returns
TypeDescription
Payload

buildPartial()

public Payload buildPartial()
Returns
TypeDescription
Payload

clear()

public Payload.Builder clear()
Returns
TypeDescription
Payload.Builder
Overrides

clearAction()

public Payload.Builder clearAction()

The action taken by agent.

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

Returns
TypeDescription
Payload.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Payload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Payload.Builder
Overrides

clearHttpRequest()

public Payload.Builder clearHttpRequest()

The HttpRequest proto.

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

Returns
TypeDescription
Payload.Builder

clearKind()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Payload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Payload.Builder
Overrides

clearStreamInfo()

public Payload.Builder clearStreamInfo()

The information of stream.

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

Returns
TypeDescription
Payload.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHttpRequest()

public HttpRequest getHttpRequest()

The HttpRequest proto.

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

Returns
TypeDescription
HttpRequest

The httpRequest.

getHttpRequestBuilder()

public HttpRequest.Builder getHttpRequestBuilder()

The HttpRequest proto.

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

Returns
TypeDescription
HttpRequest.Builder

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

getStreamInfo()

public StreamInfo getStreamInfo()

The information of stream.

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

Returns
TypeDescription
StreamInfo

The streamInfo.

getStreamInfoBuilder()

public StreamInfo.Builder getStreamInfoBuilder()

The information of stream.

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

Returns
TypeDescription
StreamInfo.Builder

getStreamInfoOrBuilder()

public StreamInfoOrBuilder getStreamInfoOrBuilder()

The information of stream.

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

Returns
TypeDescription
StreamInfoOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Payload other)

public Payload.Builder mergeFrom(Payload other)
Parameter
NameDescription
otherPayload
Returns
TypeDescription
Payload.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Payload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Payload.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Payload.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Payload.Builder
Overrides

mergeHttpRequest(HttpRequest value)

public Payload.Builder mergeHttpRequest(HttpRequest value)

The HttpRequest proto.

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

Parameter
NameDescription
valueHttpRequest
Returns
TypeDescription
Payload.Builder

mergeStreamInfo(StreamInfo value)

public Payload.Builder mergeStreamInfo(StreamInfo value)

The information of stream.

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

Parameter
NameDescription
valueStreamInfo
Returns
TypeDescription
Payload.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Payload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAction

The action to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
Payload.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Payload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Payload.Builder
Overrides

setHttpRequest(HttpRequest value)

public Payload.Builder setHttpRequest(HttpRequest value)

The HttpRequest proto.

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

Parameter
NameDescription
valueHttpRequest
Returns
TypeDescription
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
NameDescription
builderForValueHttpRequest.Builder
Returns
TypeDescription
Payload.Builder

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

public Payload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueStreamInfo
Returns
TypeDescription
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
NameDescription
builderForValueStreamInfo.Builder
Returns
TypeDescription
Payload.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Payload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Payload.Builder
Overrides