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
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 TCPSocketAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TCPSocketAction build()
Returns
buildPartial()
public TCPSocketAction buildPartial()
Returns
clear()
public TCPSocketAction.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TCPSocketAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TCPSocketAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPort()
public TCPSocketAction.Builder clearPort()
Port number to access on the container. Must be in the range 1 to 65535.
If not specified, defaults to 8080.
int32 port = 1;
Returns
clone()
public TCPSocketAction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TCPSocketAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPort()
Port number to access on the container. Must be in the range 1 to 65535.
If not specified, defaults to 8080.
int32 port = 1;
Returns
Type | Description |
int | The port.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TCPSocketAction other)
public TCPSocketAction.Builder mergeFrom(TCPSocketAction other)
Parameter
Returns
public TCPSocketAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TCPSocketAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TCPSocketAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TCPSocketAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPort(int value)
public TCPSocketAction.Builder setPort(int value)
Port number to access on the container. Must be in the range 1 to 65535.
If not specified, defaults to 8080.
int32 port = 1;
Parameter
Name | Description |
value | int
The port to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TCPSocketAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TCPSocketAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides