Class GenerateConnectManifestRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest
All Implemented Interfaces:
GenerateConnectManifestRequestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class GenerateConnectManifestRequest extends com.google.protobuf.GeneratedMessage implements GenerateConnectManifestRequestOrBuilder
 Request message for `GkeHubMembershipService.GenerateConnectManifest`
 method.
 
Protobuf type google.cloud.gkehub.v1beta1.GenerateConnectManifestRequest
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CONNECT_AGENT_FIELD_NUMBER

      public static final int CONNECT_AGENT_FIELD_NUMBER
      See Also:
    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • IS_UPGRADE_FIELD_NUMBER

      public static final int IS_UPGRADE_FIELD_NUMBER
      See Also:
    • REGISTRY_FIELD_NUMBER

      public static final int REGISTRY_FIELD_NUMBER
      See Also:
    • IMAGE_PULL_SECRET_CONTENT_FIELD_NUMBER

      public static final int IMAGE_PULL_SECRET_CONTENT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Required. The Membership resource name the Agent will associate with, in
       the format `projects/*/locations/*/memberships/*`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The Membership resource name the Agent will associate with, in
       the format `projects/*/locations/*/memberships/*`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The bytes for name.
    • hasConnectAgent

      public boolean hasConnectAgent()
       Optional. The connect agent to generate manifest for.
       
      .google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConnectAgent in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      Whether the connectAgent field is set.
    • getConnectAgent

      public ConnectAgent getConnectAgent()
       Optional. The connect agent to generate manifest for.
       
      .google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectAgent in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The connectAgent.
    • getConnectAgentOrBuilder

      public ConnectAgentOrBuilder getConnectAgentOrBuilder()
       Optional. The connect agent to generate manifest for.
       
      .google.cloud.gkehub.v1beta1.ConnectAgent connect_agent = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConnectAgentOrBuilder in interface GenerateConnectManifestRequestOrBuilder
    • getVersion

      public String getVersion()
       Optional. The Connect agent version to use. Defaults to the most current
       version.
       
      string version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVersion in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The version.
    • getVersionBytes

      public com.google.protobuf.ByteString getVersionBytes()
       Optional. The Connect agent version to use. Defaults to the most current
       version.
       
      string version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVersionBytes in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The bytes for version.
    • getIsUpgrade

      public boolean getIsUpgrade()
       Optional. If true, generate the resources for upgrade only. Some resources
       generated only for installation (e.g. secrets) will be excluded.
       
      bool is_upgrade = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsUpgrade in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The isUpgrade.
    • getRegistry

      public String getRegistry()
       Optional. The registry to fetch the connect agent image from. Defaults to
       gcr.io/gkeconnect.
       
      string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRegistry in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The registry.
    • getRegistryBytes

      public com.google.protobuf.ByteString getRegistryBytes()
       Optional. The registry to fetch the connect agent image from. Defaults to
       gcr.io/gkeconnect.
       
      string registry = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRegistryBytes in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The bytes for registry.
    • getImagePullSecretContent

      public com.google.protobuf.ByteString getImagePullSecretContent()
       Optional. The image pull secret content for the registry, if not public.
       
      bytes image_pull_secret_content = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImagePullSecretContent in interface GenerateConnectManifestRequestOrBuilder
      Returns:
      The imagePullSecretContent.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateConnectManifestRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static GenerateConnectManifestRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static GenerateConnectManifestRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public GenerateConnectManifestRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GenerateConnectManifestRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GenerateConnectManifestRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GenerateConnectManifestRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GenerateConnectManifestRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<GenerateConnectManifestRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public GenerateConnectManifestRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder