Class GRPCAction.Builder (0.39.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 0.39.0keyboard_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 ()  
   
   Port number of the gRPC service. Number must be in the range 1 to 65535.
 If not specified, defaults to the exposed port of the container, which is
 the value of container.ports[0].containerPort.
 int32 port = 1;
 
  
   
  clearService() 
  
    
public   GRPCAction . Builder   clearService ()  
   
  
  
   
  clone() 
  
    
public   GRPCAction . Builder   clone ()  
   
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   GRPCAction   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  getPort() 
  
   Port number of the gRPC service. Number must be in the range 1 to 65535.
 If not specified, defaults to the exposed port of the container, which is
 the value of container.ports[0].containerPort.
 int32 port = 1;
 
  
    
      
        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 )  
   
   Port number of the gRPC service. Number must be in the range 1 to 65535.
 If not specified, defaults to the exposed port of the container, which is
 the value of container.ports[0].containerPort.
 int32 port = 1;
 
  
    
      
        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 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  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-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]