Class ClientGateway.Builder

  • All Implemented Interfaces:
    ClientGatewayOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ClientGateway

    public static final class ClientGateway.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ClientGateway.Builder>
    implements ClientGatewayOrBuilder
     Message describing ClientGateway object.
     
    Protobuf type google.cloud.beyondcorp.clientgateways.v1.ClientGateway
    • 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<ClientGateway.Builder>
      • clear

        public ClientGateway.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<ClientGateway.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<ClientGateway.Builder>
      • getDefaultInstanceForType

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

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

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

        public ClientGateway.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<ClientGateway.Builder>
      • setField

        public ClientGateway.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<ClientGateway.Builder>
      • clearField

        public ClientGateway.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<ClientGateway.Builder>
      • clearOneof

        public ClientGateway.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<ClientGateway.Builder>
      • setRepeatedField

        public ClientGateway.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<ClientGateway.Builder>
      • addRepeatedField

        public ClientGateway.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<ClientGateway.Builder>
      • mergeFrom

        public ClientGateway.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClientGateway.Builder>
      • isInitialized

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

        public ClientGateway.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<ClientGateway.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. name of resource. The name is ignored during creation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getName in interface ClientGatewayOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. name of resource. The name is ignored during creation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getNameBytes in interface ClientGatewayOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ClientGateway.Builder setName​(String value)
         Required. name of resource. The name is ignored during creation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ClientGateway.Builder clearName()
         Required. name of resource. The name is ignored during creation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setNameBytes

        public ClientGateway.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. name of resource. The name is ignored during creation.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasCreateTime

        public boolean hasCreateTime()
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasCreateTime in interface ClientGatewayOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public com.google.protobuf.Timestamp getCreateTime()
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTime in interface ClientGatewayOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public ClientGateway.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public ClientGateway.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeCreateTime

        public ClientGateway.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public ClientGateway.Builder clearCreateTime()
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getCreateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. [Output only] Create time stamp.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getCreateTimeOrBuilder in interface ClientGatewayOrBuilder
      • hasUpdateTime

        public boolean hasUpdateTime()
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        hasUpdateTime in interface ClientGatewayOrBuilder
        Returns:
        Whether the updateTime field is set.
      • getUpdateTime

        public com.google.protobuf.Timestamp getUpdateTime()
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTime in interface ClientGatewayOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public ClientGateway.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public ClientGateway.Builder setUpdateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeUpdateTime

        public ClientGateway.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public ClientGateway.Builder clearUpdateTime()
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getUpdateTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
         Output only. [Output only] Update time stamp.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUpdateTimeOrBuilder in interface ClientGatewayOrBuilder
      • getStateValue

        public int getStateValue()
         Output only. The operational state of the gateway.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface ClientGatewayOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public ClientGateway.Builder setStateValue​(int value)
         Output only. The operational state of the gateway.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public ClientGateway.State getState()
         Output only. The operational state of the gateway.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface ClientGatewayOrBuilder
        Returns:
        The state.
      • setState

        public ClientGateway.Builder setState​(ClientGateway.State value)
         Output only. The operational state of the gateway.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public ClientGateway.Builder clearState()
         Output only. The operational state of the gateway.
         
        .google.cloud.beyondcorp.clientgateways.v1.ClientGateway.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getId

        public String getId()
         Output only. A unique identifier for the instance generated by the system.
         
        string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getId in interface ClientGatewayOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         Output only. A unique identifier for the instance generated by the system.
         
        string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getIdBytes in interface ClientGatewayOrBuilder
        Returns:
        The bytes for id.
      • setId

        public ClientGateway.Builder setId​(String value)
         Output only. A unique identifier for the instance generated by the system.
         
        string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public ClientGateway.Builder clearId()
         Output only. A unique identifier for the instance generated by the system.
         
        string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setIdBytes

        public ClientGateway.Builder setIdBytes​(com.google.protobuf.ByteString value)
         Output only. A unique identifier for the instance generated by the system.
         
        string id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • getClientConnectorService

        public String getClientConnectorService()
         Output only. The client connector service name that the client gateway is
         associated to. Client Connector Services, named as follows:
           `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
         
        string client_connector_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientConnectorService in interface ClientGatewayOrBuilder
        Returns:
        The clientConnectorService.
      • getClientConnectorServiceBytes

        public com.google.protobuf.ByteString getClientConnectorServiceBytes()
         Output only. The client connector service name that the client gateway is
         associated to. Client Connector Services, named as follows:
           `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
         
        string client_connector_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getClientConnectorServiceBytes in interface ClientGatewayOrBuilder
        Returns:
        The bytes for clientConnectorService.
      • setClientConnectorService

        public ClientGateway.Builder setClientConnectorService​(String value)
         Output only. The client connector service name that the client gateway is
         associated to. Client Connector Services, named as follows:
           `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
         
        string client_connector_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The clientConnectorService to set.
        Returns:
        This builder for chaining.
      • clearClientConnectorService

        public ClientGateway.Builder clearClientConnectorService()
         Output only. The client connector service name that the client gateway is
         associated to. Client Connector Services, named as follows:
           `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
         
        string client_connector_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setClientConnectorServiceBytes

        public ClientGateway.Builder setClientConnectorServiceBytes​(com.google.protobuf.ByteString value)
         Output only. The client connector service name that the client gateway is
         associated to. Client Connector Services, named as follows:
           `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`.
         
        string client_connector_service = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for clientConnectorService to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ClientGateway.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<ClientGateway.Builder>
      • mergeUnknownFields

        public final ClientGateway.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<ClientGateway.Builder>