public static final class TCPSocketAction.Builder extends GeneratedMessageV3.Builder<TCPSocketAction.Builder> implements TCPSocketActionOrBuilder
TCPSocketAction describes an action based on opening a socket
Protobuf type google.cloud.run.v2.TCPSocketAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TCPSocketAction.BuilderImplements
TCPSocketActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TCPSocketAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TCPSocketAction.Builder |
build()
public TCPSocketAction build()
Type | Description |
TCPSocketAction |
buildPartial()
public TCPSocketAction buildPartial()
Type | Description |
TCPSocketAction |
clear()
public TCPSocketAction.Builder clear()
Type | Description |
TCPSocketAction.Builder |
clearField(Descriptors.FieldDescriptor field)
public TCPSocketAction.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TCPSocketAction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TCPSocketAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TCPSocketAction.Builder |
clearPort()
public TCPSocketAction.Builder clearPort()
Port number to access on the container. Must be in the range 1 to 65535.
int32 port = 1;
Type | Description |
TCPSocketAction.Builder | This builder for chaining. |
clone()
public TCPSocketAction.Builder clone()
Type | Description |
TCPSocketAction.Builder |
getDefaultInstanceForType()
public TCPSocketAction getDefaultInstanceForType()
Type | Description |
TCPSocketAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPort()
public int getPort()
Port number to access on the container. Must be in the range 1 to 65535.
int32 port = 1;
Type | Description |
int | The port. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TCPSocketAction other)
public TCPSocketAction.Builder mergeFrom(TCPSocketAction other)
Name | Description |
other | TCPSocketAction |
Type | Description |
TCPSocketAction.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TCPSocketAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TCPSocketAction.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TCPSocketAction.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TCPSocketAction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TCPSocketAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TCPSocketAction.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TCPSocketAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TCPSocketAction.Builder |
setPort(int value)
public TCPSocketAction.Builder setPort(int value)
Port number to access on the container. Must be in the range 1 to 65535.
int32 port = 1;
Name | Description |
value | int The port to set. |
Type | Description |
TCPSocketAction.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TCPSocketAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TCPSocketAction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TCPSocketAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TCPSocketAction.Builder |