Class GetGuestAttributesInstanceRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
com.google.cloud.compute.v1.GetGuestAttributesInstanceRequest.Builder
All Implemented Interfaces:
GetGuestAttributesInstanceRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GetGuestAttributesInstanceRequest

public static final class GetGuestAttributesInstanceRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.Builder> implements GetGuestAttributesInstanceRequestOrBuilder
 A request message for Instances.GetGuestAttributes. See the method description for details.
 
Protobuf type google.cloud.compute.v1.GetGuestAttributesInstanceRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.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.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.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.GeneratedMessage.Builder<GetGuestAttributesInstanceRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public GetGuestAttributesInstanceRequest.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<GetGuestAttributesInstanceRequest.Builder>
      Throws:
      IOException
    • getInstance

      public String getInstance()
       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstance in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInstanceBytes in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public GetGuestAttributesInstanceRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Name of the instance scoping this request.
       
      string instance = 18257045 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • getProject

      public String getProject()
       Project ID for this request.
       
      string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getProject in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The project.
    • 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 GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The bytes for project.
    • setProject

       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

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

      public GetGuestAttributesInstanceRequest.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.
    • hasQueryPath

      public boolean hasQueryPath()
       Specifies the guest attributes path to be queried.
       
      optional string query_path = 368591164;
      Specified by:
      hasQueryPath in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      Whether the queryPath field is set.
    • getQueryPath

      public String getQueryPath()
       Specifies the guest attributes path to be queried.
       
      optional string query_path = 368591164;
      Specified by:
      getQueryPath in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The queryPath.
    • getQueryPathBytes

      public com.google.protobuf.ByteString getQueryPathBytes()
       Specifies the guest attributes path to be queried.
       
      optional string query_path = 368591164;
      Specified by:
      getQueryPathBytes in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The bytes for queryPath.
    • setQueryPath

       Specifies the guest attributes path to be queried.
       
      optional string query_path = 368591164;
      Parameters:
      value - The queryPath to set.
      Returns:
      This builder for chaining.
    • clearQueryPath

       Specifies the guest attributes path to be queried.
       
      optional string query_path = 368591164;
      Returns:
      This builder for chaining.
    • setQueryPathBytes

      public GetGuestAttributesInstanceRequest.Builder setQueryPathBytes(com.google.protobuf.ByteString value)
       Specifies the guest attributes path to be queried.
       
      optional string query_path = 368591164;
      Parameters:
      value - The bytes for queryPath to set.
      Returns:
      This builder for chaining.
    • hasVariableKey

      public boolean hasVariableKey()
       Specifies the key for the guest attributes entry.
       
      optional string variable_key = 164364828;
      Specified by:
      hasVariableKey in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      Whether the variableKey field is set.
    • getVariableKey

      public String getVariableKey()
       Specifies the key for the guest attributes entry.
       
      optional string variable_key = 164364828;
      Specified by:
      getVariableKey in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The variableKey.
    • getVariableKeyBytes

      public com.google.protobuf.ByteString getVariableKeyBytes()
       Specifies the key for the guest attributes entry.
       
      optional string variable_key = 164364828;
      Specified by:
      getVariableKeyBytes in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The bytes for variableKey.
    • setVariableKey

      public GetGuestAttributesInstanceRequest.Builder setVariableKey(String value)
       Specifies the key for the guest attributes entry.
       
      optional string variable_key = 164364828;
      Parameters:
      value - The variableKey to set.
      Returns:
      This builder for chaining.
    • clearVariableKey

      public GetGuestAttributesInstanceRequest.Builder clearVariableKey()
       Specifies the key for the guest attributes entry.
       
      optional string variable_key = 164364828;
      Returns:
      This builder for chaining.
    • setVariableKeyBytes

      public GetGuestAttributesInstanceRequest.Builder setVariableKeyBytes(com.google.protobuf.ByteString value)
       Specifies the key for the guest attributes entry.
       
      optional string variable_key = 164364828;
      Parameters:
      value - The bytes for variableKey to set.
      Returns:
      This builder for chaining.
    • getZone

      public String getZone()
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZone in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The zone.
    • getZoneBytes

      public com.google.protobuf.ByteString getZoneBytes()
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getZoneBytes in interface GetGuestAttributesInstanceRequestOrBuilder
      Returns:
      The bytes for zone.
    • setZone

       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The zone to set.
      Returns:
      This builder for chaining.
    • clearZone

       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setZoneBytes

      public GetGuestAttributesInstanceRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
       The name of the zone for this request.
       
      string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for zone to set.
      Returns:
      This builder for chaining.