Class Service.CreateGatewayEndpoint.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<Service.CreateGatewayEndpoint.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<Service.CreateGatewayEndpoint.Builder>
      • getDefaultInstanceForType

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

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

        public Service.CreateGatewayEndpoint buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

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

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

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

        public Service.CreateGatewayEndpoint.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws java.io.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<Service.CreateGatewayEndpoint.Builder>
        Throws:
        java.io.IOException
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Optional user-friendly name for the endpoint
         
        optional string name = 1;
        Specified by:
        getNameBytes in interface Service.CreateGatewayEndpointOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Service.CreateGatewayEndpoint.Builder setName​(java.lang.String value)
         Optional user-friendly name for the endpoint
         
        optional string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.CreateGatewayEndpoint.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Optional user-friendly name for the endpoint
         
        optional string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getModelDefinitionIdsList

        public com.google.protobuf.ProtocolStringList getModelDefinitionIdsList()
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Specified by:
        getModelDefinitionIdsList in interface Service.CreateGatewayEndpointOrBuilder
        Returns:
        A list containing the modelDefinitionIds.
      • getModelDefinitionIds

        public java.lang.String getModelDefinitionIds​(int index)
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Specified by:
        getModelDefinitionIds in interface Service.CreateGatewayEndpointOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The modelDefinitionIds at the given index.
      • getModelDefinitionIdsBytes

        public com.google.protobuf.ByteString getModelDefinitionIdsBytes​(int index)
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Specified by:
        getModelDefinitionIdsBytes in interface Service.CreateGatewayEndpointOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the modelDefinitionIds at the given index.
      • setModelDefinitionIds

        public Service.CreateGatewayEndpoint.Builder setModelDefinitionIds​(int index,
                                                                           java.lang.String value)
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Parameters:
        index - The index to set the value at.
        value - The modelDefinitionIds to set.
        Returns:
        This builder for chaining.
      • addModelDefinitionIds

        public Service.CreateGatewayEndpoint.Builder addModelDefinitionIds​(java.lang.String value)
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Parameters:
        value - The modelDefinitionIds to add.
        Returns:
        This builder for chaining.
      • addAllModelDefinitionIds

        public Service.CreateGatewayEndpoint.Builder addAllModelDefinitionIds​(java.lang.Iterable<java.lang.String> values)
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Parameters:
        values - The modelDefinitionIds to add.
        Returns:
        This builder for chaining.
      • clearModelDefinitionIds

        public Service.CreateGatewayEndpoint.Builder clearModelDefinitionIds()
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Returns:
        This builder for chaining.
      • addModelDefinitionIdsBytes

        public Service.CreateGatewayEndpoint.Builder addModelDefinitionIdsBytes​(com.google.protobuf.ByteString value)
         List of model definition IDs to attach to this endpoint
         
        repeated string model_definition_ids = 2;
        Parameters:
        value - The bytes of the modelDefinitionIds to add.
        Returns:
        This builder for chaining.
      • setCreatedBy

        public Service.CreateGatewayEndpoint.Builder setCreatedBy​(java.lang.String value)
         Username of the creator
         
        optional string created_by = 3;
        Parameters:
        value - The createdBy to set.
        Returns:
        This builder for chaining.
      • setCreatedByBytes

        public Service.CreateGatewayEndpoint.Builder setCreatedByBytes​(com.google.protobuf.ByteString value)
         Username of the creator
         
        optional string created_by = 3;
        Parameters:
        value - The bytes for createdBy to set.
        Returns:
        This builder for chaining.