Class GenerateCredentialsRequest (0.28.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 0.28.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  GenerateCredentialsRequest   extends   GeneratedMessageV3   implements   GenerateCredentialsRequestOrBuilder  
   
   A request for connection information for a particular membership.
 Protobuf type google.cloud.gkeconnect.gateway.v1.GenerateCredentialsRequest
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  FORCE_USE_AGENT_FIELD_NUMBER 
  
    
public   static   final   int   FORCE_USE_AGENT_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  KUBERNETES_NAMESPACE_FIELD_NUMBER 
  
    
public   static   final   int   KUBERNETES_NAMESPACE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  NAME_FIELD_NUMBER 
  
    
public   static   final   int   NAME_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  OPERATING_SYSTEM_FIELD_NUMBER 
  
    
public   static   final   int   OPERATING_SYSTEM_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  VERSION_FIELD_NUMBER 
  
    
public   static   final   int   VERSION_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   GenerateCredentialsRequest   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   GenerateCredentialsRequest . Builder   newBuilder ()  
   
  
   
  newBuilder(GenerateCredentialsRequest prototype) 
  
    
public   static   GenerateCredentialsRequest . Builder   newBuilder ( GenerateCredentialsRequest   prototype )  
   
  
  
   
  
  
    
public   static   GenerateCredentialsRequest   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   GenerateCredentialsRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   GenerateCredentialsRequest   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GenerateCredentialsRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   GenerateCredentialsRequest   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GenerateCredentialsRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   GenerateCredentialsRequest   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   GenerateCredentialsRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   GenerateCredentialsRequest   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   GenerateCredentialsRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   GenerateCredentialsRequest   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   GenerateCredentialsRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<GenerateCredentialsRequest>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   GenerateCredentialsRequest   getDefaultInstanceForType ()  
   
  
   
  getForceUseAgent() 
  
    
public   boolean   getForceUseAgent ()  
   
   Optional. Whether to force the use of Connect Agent-based transport.
 This will return a configuration that uses Connect Agent as the underlying
 transport mechanism for cluster types that would otherwise have used a
 different transport. Requires that Connect Agent be installed on the
 cluster. Setting this field to false is equivalent to not setting it.
 bool force_use_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        The forceUseAgent.
 
       
     
  
   
  getKubernetesNamespace() 
  
    
public   String   getKubernetesNamespace ()  
   
   Optional. The namespace to use in the kubeconfig context.
 If this field is specified, the server will set the namespace field in
 kubeconfig context. If not specified, the namespace field is omitted.
 string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The kubernetesNamespace.
 
       
     
  
   
  getKubernetesNamespaceBytes() 
  
    
public   ByteString   getKubernetesNamespaceBytes ()  
   
   Optional. The namespace to use in the kubeconfig context.
 If this field is specified, the server will set the namespace field in
 kubeconfig context. If not specified, the namespace field is omitted.
 string kubernetes_namespace = 4 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for kubernetesNamespace.
 
       
     
  
   
  getName() 
  
   Required. The Fleet membership resource.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The name.
 
       
     
  
   
  getNameBytes() 
  
    
public   ByteString   getNameBytes ()  
   
   Required. The Fleet membership resource.
 string name = 1 [(.google.api.field_behavior) = REQUIRED];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for name.
 
       
     
  
   
  getOperatingSystem() 
  
    
public   GenerateCredentialsRequest . OperatingSystem   getOperatingSystem ()  
   
   Optional. The operating system where the kubeconfig will be used.
 
 .google.cloud.gkeconnect.gateway.v1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getOperatingSystemValue() 
  
    
public   int   getOperatingSystemValue ()  
   
   Optional. The operating system where the kubeconfig will be used.
 
 .google.cloud.gkeconnect.gateway.v1.GenerateCredentialsRequest.OperatingSystem operating_system = 5 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for operatingSystem.
 
       
     
  
   
  getParserForType() 
  
    
public   Parser<GenerateCredentialsRequest>   getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getVersion() 
  
    
public   String   getVersion ()  
   
   Optional. The Connect Gateway version to be used in the resulting
 configuration.
 Leave this field blank to let the server choose the version (recommended).
 string version = 3 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The version.
 
       
     
  
   
  getVersionBytes() 
  
    
public   ByteString   getVersionBytes ()  
   
   Optional. The Connect Gateway version to be used in the resulting
 configuration.
 Leave this field blank to let the server choose the version (recommended).
 string version = 3 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for version.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   GenerateCredentialsRequest . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   GenerateCredentialsRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   GenerateCredentialsRequest . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  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."],[],[]]