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

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

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

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

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

        public com.google.protobuf.ByteString getInstanceTemplateBytes()
         The name of the instance template.
         
        string instance_template = 309248228 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getInstanceTemplateBytes in interface GetRegionInstanceTemplateRequestOrBuilder
        Returns:
        The bytes for instanceTemplate.
      • setInstanceTemplate

        public GetRegionInstanceTemplateRequest.Builder setInstanceTemplate​(String value)
         The name of the instance template.
         
        string instance_template = 309248228 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The instanceTemplate to set.
        Returns:
        This builder for chaining.
      • clearInstanceTemplate

        public GetRegionInstanceTemplateRequest.Builder clearInstanceTemplate()
         The name of the instance template.
         
        string instance_template = 309248228 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setInstanceTemplateBytes

        public GetRegionInstanceTemplateRequest.Builder setInstanceTemplateBytes​(com.google.protobuf.ByteString value)
         The name of the instance template.
         
        string instance_template = 309248228 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for instanceTemplate to set.
        Returns:
        This builder for chaining.
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectBytes in interface GetRegionInstanceTemplateRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public GetRegionInstanceTemplateRequest.Builder setProject​(String value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • clearProject

        public GetRegionInstanceTemplateRequest.Builder clearProject()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectBytes

        public GetRegionInstanceTemplateRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRegionBytes in interface GetRegionInstanceTemplateRequestOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public GetRegionInstanceTemplateRequest.Builder setRegion​(String value)
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public GetRegionInstanceTemplateRequest.Builder clearRegion()
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setRegionBytes

        public GetRegionInstanceTemplateRequest.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         The name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for region to set.
        Returns:
        This builder for chaining.