Send feedback
Class GRPCAction.Builder (0.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.52.0 keyboard_arrow_down
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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 GRPCAction . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GRPCAction build ()
buildPartial()
public GRPCAction buildPartial ()
clear()
public GRPCAction . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GRPCAction . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GRPCAction . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearPort()
public GRPCAction . Builder clearPort ()
Optional. Port number of the gRPC service. Number must be in the range 1 to
If not specified, defaults to the exposed port of the container,
which is the value of container.ports[0].containerPort.
int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
clearService()
public GRPCAction . Builder clearService ()
clone()
public GRPCAction . Builder clone ()
Overrides
getDefaultInstanceForType()
public GRPCAction getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getPort()
Optional. Port number of the gRPC service. Number must be in the range 1 to
If not specified, defaults to the exposed port of the container,
which is the value of container.ports[0].containerPort.
int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The port.
getService()
public String getService ()
Returns
Type
Description
String
The service.
getServiceBytes()
public ByteString getServiceBytes ()
Returns
Type
Description
ByteString
The bytes for service.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GRPCAction other)
public GRPCAction . Builder mergeFrom ( GRPCAction other )
public GRPCAction . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GRPCAction . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GRPCAction . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GRPCAction . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setPort(int value)
public GRPCAction . Builder setPort ( int value )
Optional. Port number of the gRPC service. Number must be in the range 1 to
If not specified, defaults to the exposed port of the container,
which is the value of container.ports[0].containerPort.
int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
int
The port to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GRPCAction . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setService(String value)
public GRPCAction . Builder setService ( String value )
Parameter
Name
Description
value
String
The service to set.
setServiceBytes(ByteString value)
public GRPCAction . Builder setServiceBytes ( ByteString value )
Parameter
Name
Description
value
ByteString
The bytes for service to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final GRPCAction . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]