public static final class Payload.Builder extends GeneratedMessageV3.Builder<Payload.Builder> implements PayloadOrBuilder
Payload for EgressRequest.
Protobuf type google.cloud.apigeeconnect.v1.Payload
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Payload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Payload buildPartial()
Returns
clear()
public Payload.Builder clear()
Returns
Overrides
clearAction()
public Payload.Builder clearAction()
The action taken by agent.
.google.cloud.apigeeconnect.v1.Action action = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public Payload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHttpRequest()
public Payload.Builder clearHttpRequest()
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Returns
clearKind()
public Payload.Builder clearKind()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Payload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearStreamInfo()
public Payload.Builder clearStreamInfo()
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Returns
clone()
public Payload.Builder clone()
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHttpRequest()
public HttpRequest getHttpRequest()
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Returns
getHttpRequestBuilder()
public HttpRequest.Builder getHttpRequestBuilder()
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
getStreamInfo()
public StreamInfo getStreamInfo()
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Returns
getStreamInfoBuilder()
public StreamInfo.Builder getStreamInfoBuilder()
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Payload other)
public Payload.Builder mergeFrom(Payload other)
Parameter
Returns
public Payload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Payload.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeHttpRequest(HttpRequest value)
public Payload.Builder mergeHttpRequest(HttpRequest value)
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Parameter
Returns
mergeStreamInfo(StreamInfo value)
public Payload.Builder mergeStreamInfo(StreamInfo value)
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Payload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public Payload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHttpRequest(HttpRequest value)
public Payload.Builder setHttpRequest(HttpRequest value)
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Parameter
Returns
setHttpRequest(HttpRequest.Builder builderForValue)
public Payload.Builder setHttpRequest(HttpRequest.Builder builderForValue)
The HttpRequest proto.
.google.cloud.apigeeconnect.v1.HttpRequest http_request = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Payload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStreamInfo(StreamInfo value)
public Payload.Builder setStreamInfo(StreamInfo value)
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Parameter
Returns
setStreamInfo(StreamInfo.Builder builderForValue)
public Payload.Builder setStreamInfo(StreamInfo.Builder builderForValue)
The information of stream.
.google.cloud.apigeeconnect.v1.StreamInfo stream_info = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Payload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides