public static final class GRPCAction.Builder extends GeneratedMessageV3.Builder<GRPCAction.Builder> implements GRPCActionOrBuilder
GRPCAction describes an action involving a GRPC port.
Protobuf type google.cloud.run.v2.GRPCAction
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 GRPCAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GRPCAction build()
Returns
buildPartial()
public GRPCAction buildPartial()
Returns
clear()
public GRPCAction.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GRPCAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GRPCAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPort()
public GRPCAction.Builder clearPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
If not specified, defaults to 8080.
int32 port = 1;
Returns
clearService()
public GRPCAction.Builder clearService()
Returns
clone()
public GRPCAction.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GRPCAction getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getPort()
Port number of the gRPC service. Number must be in the range 1 to 65535.
If not specified, defaults to 8080.
int32 port = 1;
Returns
Type | Description |
int | The port.
|
getService()
public String getService()
Returns
Type | Description |
String | The service.
|
getServiceBytes()
public ByteString getServiceBytes()
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GRPCAction other)
public GRPCAction.Builder mergeFrom(GRPCAction other)
Parameter
Returns
public GRPCAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GRPCAction.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GRPCAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GRPCAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setPort(int value)
public GRPCAction.Builder setPort(int value)
Port number of the gRPC service. Number 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 GRPCAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setService(String value)
public GRPCAction.Builder setService(String value)
Parameter
Name | Description |
value | String
The service to set.
|
Returns
setServiceBytes(ByteString value)
public GRPCAction.Builder setServiceBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for service to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GRPCAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides