Class CreateInstanceRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceRequest.Builder>
      • internalGetFieldAccessorTable

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

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

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

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

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

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

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

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

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

        public CreateInstanceRequest.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<CreateInstanceRequest.Builder>
      • isInitialized

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

        public CreateInstanceRequest.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<CreateInstanceRequest.Builder>
        Throws:
        IOException
      • setNameBytes

        public CreateInstanceRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         **Required.** The name of the instance.
         
        optional string name = 1;
      • getTemplateBytes

        public com.google.protobuf.ByteString getTemplateBytes()
         **Required.** The name of the template for this instance.
         
        optional string template = 2;
        Specified by:
        getTemplateBytes in interface CreateInstanceRequestOrBuilder
      • clearTemplate

        public CreateInstanceRequest.Builder clearTemplate()
         **Required.** The name of the template for this instance.
         
        optional string template = 2;
      • setTemplateBytes

        public CreateInstanceRequest.Builder setTemplateBytes​(com.google.protobuf.ByteString value)
         **Required.** The name of the template for this instance.
         
        optional string template = 2;
      • containsTemplateArgs

        public boolean containsTemplateArgs​(String key)
         Arguments for substitution in the template definition. Each entry is
         keyed by the argument name. The value must be a string.
         
        map<string, string> templateArgs = 3;
        Specified by:
        containsTemplateArgs in interface CreateInstanceRequestOrBuilder
      • getTemplateArgsOrThrow

        public String getTemplateArgsOrThrow​(String key)
         Arguments for substitution in the template definition. Each entry is
         keyed by the argument name. The value must be a string.
         
        map<string, string> templateArgs = 3;
        Specified by:
        getTemplateArgsOrThrow in interface CreateInstanceRequestOrBuilder
      • removeTemplateArgs

        public CreateInstanceRequest.Builder removeTemplateArgs​(String key)
         Arguments for substitution in the template definition. Each entry is
         keyed by the argument name. The value must be a string.
         
        map<string, string> templateArgs = 3;
      • getMutableTemplateArgs

        @Deprecated
        public Map<String,​String> getMutableTemplateArgs()
        Deprecated.
        Use alternate mutation accessors instead.
      • putTemplateArgs

        public CreateInstanceRequest.Builder putTemplateArgs​(String key,
                                                             String value)
         Arguments for substitution in the template definition. Each entry is
         keyed by the argument name. The value must be a string.
         
        map<string, string> templateArgs = 3;
      • putAllTemplateArgs

        public CreateInstanceRequest.Builder putAllTemplateArgs​(Map<String,​String> values)
         Arguments for substitution in the template definition. Each entry is
         keyed by the argument name. The value must be a string.
         
        map<string, string> templateArgs = 3;
      • containsLabels

        public boolean containsLabels​(String key)
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
        Specified by:
        containsLabels in interface CreateInstanceRequestOrBuilder
      • getLabelsMap

        public Map<String,​String> getLabelsMap()
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsMap in interface CreateInstanceRequestOrBuilder
      • getLabelsOrDefault

        public String getLabelsOrDefault​(String key,
                                         String defaultValue)
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsOrDefault in interface CreateInstanceRequestOrBuilder
      • getLabelsOrThrow

        public String getLabelsOrThrow​(String key)
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
        Specified by:
        getLabelsOrThrow in interface CreateInstanceRequestOrBuilder
      • removeLabels

        public CreateInstanceRequest.Builder removeLabels​(String key)
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
      • getMutableLabels

        @Deprecated
        public Map<String,​String> getMutableLabels()
        Deprecated.
        Use alternate mutation accessors instead.
      • putLabels

        public CreateInstanceRequest.Builder putLabels​(String key,
                                                       String value)
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
      • putAllLabels

        public CreateInstanceRequest.Builder putAllLabels​(Map<String,​String> values)
         Labels assigned to this instance. Each entry is keyed by the tag name
         of the label. The value represent the label value for that tag.
         
        map<string, string> labels = 4;
      • setUnknownFields

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

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