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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TCPSocketAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TCPSocketAction build()
buildPartial()
public TCPSocketAction buildPartial()
clear()
public TCPSocketAction.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TCPSocketAction.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TCPSocketAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public TCPSocketAction.Builder clone()
Overrides
getDefaultInstanceForType()
public TCPSocketAction getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TCPSocketAction other)
public TCPSocketAction.Builder mergeFrom(TCPSocketAction other)
public TCPSocketAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TCPSocketAction.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TCPSocketAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TCPSocketAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TCPSocketAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TCPSocketAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides