Class GuestAttributes.Builder

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

public static final class GuestAttributes.Builder extends com.google.protobuf.GeneratedMessage.Builder<GuestAttributes.Builder> implements GuestAttributesOrBuilder
 A guest attributes entry.
 
Protobuf type google.cloud.compute.v1.GuestAttributes
  • 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<GuestAttributes.Builder>
    • clear

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

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

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

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

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

      public GuestAttributes.Builder mergeFrom(GuestAttributes other)
    • isInitialized

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

      public GuestAttributes.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<GuestAttributes.Builder>
      Throws:
      IOException
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface GuestAttributesOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface GuestAttributesOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface GuestAttributesOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public GuestAttributes.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public GuestAttributes.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public GuestAttributes.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasQueryPath

      public boolean hasQueryPath()
       The path to be queried. This can be the default namespace ('') or a
       nested namespace ('\/') or a specified key
       ('\/\').
       
      optional string query_path = 368591164;
      Specified by:
      hasQueryPath in interface GuestAttributesOrBuilder
      Returns:
      Whether the queryPath field is set.
    • getQueryPath

      public String getQueryPath()
       The path to be queried. This can be the default namespace ('') or a
       nested namespace ('\/') or a specified key
       ('\/\').
       
      optional string query_path = 368591164;
      Specified by:
      getQueryPath in interface GuestAttributesOrBuilder
      Returns:
      The queryPath.
    • getQueryPathBytes

      public com.google.protobuf.ByteString getQueryPathBytes()
       The path to be queried. This can be the default namespace ('') or a
       nested namespace ('\/') or a specified key
       ('\/\').
       
      optional string query_path = 368591164;
      Specified by:
      getQueryPathBytes in interface GuestAttributesOrBuilder
      Returns:
      The bytes for queryPath.
    • setQueryPath

      public GuestAttributes.Builder setQueryPath(String value)
       The path to be queried. This can be the default namespace ('') or a
       nested namespace ('\/') or a specified key
       ('\/\').
       
      optional string query_path = 368591164;
      Parameters:
      value - The queryPath to set.
      Returns:
      This builder for chaining.
    • clearQueryPath

      public GuestAttributes.Builder clearQueryPath()
       The path to be queried. This can be the default namespace ('') or a
       nested namespace ('\/') or a specified key
       ('\/\').
       
      optional string query_path = 368591164;
      Returns:
      This builder for chaining.
    • setQueryPathBytes

      public GuestAttributes.Builder setQueryPathBytes(com.google.protobuf.ByteString value)
       The path to be queried. This can be the default namespace ('') or a
       nested namespace ('\/') or a specified key
       ('\/\').
       
      optional string query_path = 368591164;
      Parameters:
      value - The bytes for queryPath to set.
      Returns:
      This builder for chaining.
    • hasQueryValue

      public boolean hasQueryValue()
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
      Specified by:
      hasQueryValue in interface GuestAttributesOrBuilder
      Returns:
      Whether the queryValue field is set.
    • getQueryValue

      public GuestAttributesValue getQueryValue()
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
      Specified by:
      getQueryValue in interface GuestAttributesOrBuilder
      Returns:
      The queryValue.
    • setQueryValue

      public GuestAttributes.Builder setQueryValue(GuestAttributesValue value)
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
    • setQueryValue

      public GuestAttributes.Builder setQueryValue(GuestAttributesValue.Builder builderForValue)
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
    • mergeQueryValue

      public GuestAttributes.Builder mergeQueryValue(GuestAttributesValue value)
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
    • clearQueryValue

      public GuestAttributes.Builder clearQueryValue()
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
    • getQueryValueBuilder

      public GuestAttributesValue.Builder getQueryValueBuilder()
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
    • getQueryValueOrBuilder

      public GuestAttributesValueOrBuilder getQueryValueOrBuilder()
       Output only. [Output Only] The value of the requested queried path.
       
      optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
      Specified by:
      getQueryValueOrBuilder in interface GuestAttributesOrBuilder
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface GuestAttributesOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface GuestAttributesOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface GuestAttributesOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public GuestAttributes.Builder setSelfLink(String value)
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public GuestAttributes.Builder clearSelfLink()
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public GuestAttributes.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for this resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • hasVariableKey

      public boolean hasVariableKey()
       The key to search for.
       
      optional string variable_key = 164364828;
      Specified by:
      hasVariableKey in interface GuestAttributesOrBuilder
      Returns:
      Whether the variableKey field is set.
    • getVariableKey

      public String getVariableKey()
       The key to search for.
       
      optional string variable_key = 164364828;
      Specified by:
      getVariableKey in interface GuestAttributesOrBuilder
      Returns:
      The variableKey.
    • getVariableKeyBytes

      public com.google.protobuf.ByteString getVariableKeyBytes()
       The key to search for.
       
      optional string variable_key = 164364828;
      Specified by:
      getVariableKeyBytes in interface GuestAttributesOrBuilder
      Returns:
      The bytes for variableKey.
    • setVariableKey

      public GuestAttributes.Builder setVariableKey(String value)
       The key to search for.
       
      optional string variable_key = 164364828;
      Parameters:
      value - The variableKey to set.
      Returns:
      This builder for chaining.
    • clearVariableKey

      public GuestAttributes.Builder clearVariableKey()
       The key to search for.
       
      optional string variable_key = 164364828;
      Returns:
      This builder for chaining.
    • setVariableKeyBytes

      public GuestAttributes.Builder setVariableKeyBytes(com.google.protobuf.ByteString value)
       The key to search for.
       
      optional string variable_key = 164364828;
      Parameters:
      value - The bytes for variableKey to set.
      Returns:
      This builder for chaining.
    • hasVariableValue

      public boolean hasVariableValue()
       Output only. [Output Only] The value found for the requested key.
       
      optional string variable_value = 124582382;
      Specified by:
      hasVariableValue in interface GuestAttributesOrBuilder
      Returns:
      Whether the variableValue field is set.
    • getVariableValue

      public String getVariableValue()
       Output only. [Output Only] The value found for the requested key.
       
      optional string variable_value = 124582382;
      Specified by:
      getVariableValue in interface GuestAttributesOrBuilder
      Returns:
      The variableValue.
    • getVariableValueBytes

      public com.google.protobuf.ByteString getVariableValueBytes()
       Output only. [Output Only] The value found for the requested key.
       
      optional string variable_value = 124582382;
      Specified by:
      getVariableValueBytes in interface GuestAttributesOrBuilder
      Returns:
      The bytes for variableValue.
    • setVariableValue

      public GuestAttributes.Builder setVariableValue(String value)
       Output only. [Output Only] The value found for the requested key.
       
      optional string variable_value = 124582382;
      Parameters:
      value - The variableValue to set.
      Returns:
      This builder for chaining.
    • clearVariableValue

      public GuestAttributes.Builder clearVariableValue()
       Output only. [Output Only] The value found for the requested key.
       
      optional string variable_value = 124582382;
      Returns:
      This builder for chaining.
    • setVariableValueBytes

      public GuestAttributes.Builder setVariableValueBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The value found for the requested key.
       
      optional string variable_value = 124582382;
      Parameters:
      value - The bytes for variableValue to set.
      Returns:
      This builder for chaining.