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

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

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

        public InstancesSetMachineTypeRequest 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<InstancesSetMachineTypeRequest.Builder>
      • hasMachineType

        public boolean hasMachineType()
         Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
         
        optional string machine_type = 227711026;
        Specified by:
        hasMachineType in interface InstancesSetMachineTypeRequestOrBuilder
        Returns:
        Whether the machineType field is set.
      • getMachineType

        public String getMachineType()
         Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
         
        optional string machine_type = 227711026;
        Specified by:
        getMachineType in interface InstancesSetMachineTypeRequestOrBuilder
        Returns:
        The machineType.
      • getMachineTypeBytes

        public com.google.protobuf.ByteString getMachineTypeBytes()
         Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
         
        optional string machine_type = 227711026;
        Specified by:
        getMachineTypeBytes in interface InstancesSetMachineTypeRequestOrBuilder
        Returns:
        The bytes for machineType.
      • setMachineType

        public InstancesSetMachineTypeRequest.Builder setMachineType​(String value)
         Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
         
        optional string machine_type = 227711026;
        Parameters:
        value - The machineType to set.
        Returns:
        This builder for chaining.
      • clearMachineType

        public InstancesSetMachineTypeRequest.Builder clearMachineType()
         Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
         
        optional string machine_type = 227711026;
        Returns:
        This builder for chaining.
      • setMachineTypeBytes

        public InstancesSetMachineTypeRequest.Builder setMachineTypeBytes​(com.google.protobuf.ByteString value)
         Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1
         
        optional string machine_type = 227711026;
        Parameters:
        value - The bytes for machineType to set.
        Returns:
        This builder for chaining.