Class SetMasterAuthRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • clear

        public SetMasterAuthRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • getDefaultInstanceForType

        public SetMasterAuthRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SetMasterAuthRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SetMasterAuthRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public SetMasterAuthRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • setField

        public SetMasterAuthRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • clearField

        public SetMasterAuthRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • clearOneof

        public SetMasterAuthRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • setRepeatedField

        public SetMasterAuthRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             int index,
                                                             Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • addRepeatedField

        public SetMasterAuthRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                             Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • mergeFrom

        public SetMasterAuthRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                               throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetMasterAuthRequest.Builder>
        Throws:
        IOException
      • getProjectId

        @Deprecated
        public String getProjectId()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3271
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectId in interface SetMasterAuthRequestOrBuilder
        Returns:
        The projectId.
      • getProjectIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getProjectIdBytes()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3271
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectIdBytes in interface SetMasterAuthRequestOrBuilder
        Returns:
        The bytes for projectId.
      • setProjectId

        @Deprecated
        public SetMasterAuthRequest.Builder setProjectId​(String value)
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3271
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The projectId to set.
        Returns:
        This builder for chaining.
      • clearProjectId

        @Deprecated
        public SetMasterAuthRequest.Builder clearProjectId()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3271
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectIdBytes

        @Deprecated
        public SetMasterAuthRequest.Builder setProjectIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.project_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3271
         Required. Deprecated. The Google Developers Console [project ID or project
         number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).
         This field has been deprecated and replaced by the name field.
         
        string project_id = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for projectId to set.
        Returns:
        This builder for chaining.
      • getZone

        @Deprecated
        public String getZone()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3278
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZone in interface SetMasterAuthRequestOrBuilder
        Returns:
        The zone.
      • getZoneBytes

        @Deprecated
        public com.google.protobuf.ByteString getZoneBytes()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3278
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getZoneBytes in interface SetMasterAuthRequestOrBuilder
        Returns:
        The bytes for zone.
      • setZone

        @Deprecated
        public SetMasterAuthRequest.Builder setZone​(String value)
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3278
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The zone to set.
        Returns:
        This builder for chaining.
      • clearZone

        @Deprecated
        public SetMasterAuthRequest.Builder clearZone()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3278
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setZoneBytes

        @Deprecated
        public SetMasterAuthRequest.Builder setZoneBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.zone is deprecated. See google/container/v1beta1/cluster_service.proto;l=3278
         Required. Deprecated. The name of the Google Compute Engine
         [zone](https://cloud.google.com/compute/docs/zones#available) in which the
         cluster resides. This field has been deprecated and replaced by the name
         field.
         
        string zone = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for zone to set.
        Returns:
        This builder for chaining.
      • getClusterId

        @Deprecated
        public String getClusterId()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3282
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterId in interface SetMasterAuthRequestOrBuilder
        Returns:
        The clusterId.
      • getClusterIdBytes

        @Deprecated
        public com.google.protobuf.ByteString getClusterIdBytes()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3282
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getClusterIdBytes in interface SetMasterAuthRequestOrBuilder
        Returns:
        The bytes for clusterId.
      • setClusterId

        @Deprecated
        public SetMasterAuthRequest.Builder setClusterId​(String value)
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3282
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The clusterId to set.
        Returns:
        This builder for chaining.
      • clearClusterId

        @Deprecated
        public SetMasterAuthRequest.Builder clearClusterId()
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3282
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setClusterIdBytes

        @Deprecated
        public SetMasterAuthRequest.Builder setClusterIdBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.container.v1beta1.SetMasterAuthRequest.cluster_id is deprecated. See google/container/v1beta1/cluster_service.proto;l=3282
         Required. Deprecated. The name of the cluster to upgrade.
         This field has been deprecated and replaced by the name field.
         
        string cluster_id = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for clusterId to set.
        Returns:
        This builder for chaining.
      • getActionValue

        public int getActionValue()
         Required. The exact form of action to be taken on the master auth.
         
        .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getActionValue in interface SetMasterAuthRequestOrBuilder
        Returns:
        The enum numeric value on the wire for action.
      • setActionValue

        public SetMasterAuthRequest.Builder setActionValue​(int value)
         Required. The exact form of action to be taken on the master auth.
         
        .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for action to set.
        Returns:
        This builder for chaining.
      • getAction

        public SetMasterAuthRequest.Action getAction()
         Required. The exact form of action to be taken on the master auth.
         
        .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getAction in interface SetMasterAuthRequestOrBuilder
        Returns:
        The action.
      • setAction

        public SetMasterAuthRequest.Builder setAction​(SetMasterAuthRequest.Action value)
         Required. The exact form of action to be taken on the master auth.
         
        .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The action to set.
        Returns:
        This builder for chaining.
      • clearAction

        public SetMasterAuthRequest.Builder clearAction()
         Required. The exact form of action to be taken on the master auth.
         
        .google.container.v1beta1.SetMasterAuthRequest.Action action = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • hasUpdate

        public boolean hasUpdate()
         Required. A description of the update.
         
        .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasUpdate in interface SetMasterAuthRequestOrBuilder
        Returns:
        Whether the update field is set.
      • getUpdate

        public MasterAuth getUpdate()
         Required. A description of the update.
         
        .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getUpdate in interface SetMasterAuthRequestOrBuilder
        Returns:
        The update.
      • setUpdate

        public SetMasterAuthRequest.Builder setUpdate​(MasterAuth value)
         Required. A description of the update.
         
        .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];
      • mergeUpdate

        public SetMasterAuthRequest.Builder mergeUpdate​(MasterAuth value)
         Required. A description of the update.
         
        .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];
      • clearUpdate

        public SetMasterAuthRequest.Builder clearUpdate()
         Required. A description of the update.
         
        .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];
      • getUpdateBuilder

        public MasterAuth.Builder getUpdateBuilder()
         Required. A description of the update.
         
        .google.container.v1beta1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED];
      • getName

        public String getName()
         The name (project, location, cluster) of the cluster to set auth.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 7;
        Specified by:
        getName in interface SetMasterAuthRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name (project, location, cluster) of the cluster to set auth.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 7;
        Specified by:
        getNameBytes in interface SetMasterAuthRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public SetMasterAuthRequest.Builder setName​(String value)
         The name (project, location, cluster) of the cluster to set auth.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 7;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public SetMasterAuthRequest.Builder clearName()
         The name (project, location, cluster) of the cluster to set auth.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 7;
        Returns:
        This builder for chaining.
      • setNameBytes

        public SetMasterAuthRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name (project, location, cluster) of the cluster to set auth.
         Specified in the format `projects/*/locations/*/clusters/*`.
         
        string name = 7;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SetMasterAuthRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>
      • mergeUnknownFields

        public final SetMasterAuthRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SetMasterAuthRequest.Builder>