Class TCPSocketAction.Builder (0.28.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.28.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
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 the exposed port of the container, which is
 the value of container.ports[0].containerPort.
 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 the exposed port of the container, which is
 the value of container.ports[0].containerPort.
 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  
      
        otherMessage  
     
  
  
  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 the exposed port of the container, which is
 the value of container.ports[0].containerPort.
 int32 port = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueint 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 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-11 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-11 UTC."],[],[]]