Class Data.Builder

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

public static final class Data.Builder extends com.google.protobuf.GeneratedMessage.Builder<Data.Builder> implements DataOrBuilder
 
Protobuf type google.cloud.compute.v1.Data
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    [Output Only] A key that provides more detail on the warning being returned.
    [Output Only] A warning data value corresponding to the key.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    [Output Only] A key that provides more detail on the warning being returned.
    com.google.protobuf.ByteString
    [Output Only] A key that provides more detail on the warning being returned.
    [Output Only] A warning data value corresponding to the key.
    com.google.protobuf.ByteString
    [Output Only] A warning data value corresponding to the key.
    boolean
    [Output Only] A key that provides more detail on the warning being returned.
    boolean
    [Output Only] A warning data value corresponding to the key.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(Data other)
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    setKey(String value)
    [Output Only] A key that provides more detail on the warning being returned.
    setKeyBytes(com.google.protobuf.ByteString value)
    [Output Only] A key that provides more detail on the warning being returned.
    [Output Only] A warning data value corresponding to the key.
    setValueBytes(com.google.protobuf.ByteString value)
    [Output Only] A warning data value corresponding to the key.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<Data.Builder>
    • clear

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

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

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

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

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

      public Data.Builder mergeFrom(Data other)
    • isInitialized

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

      public Data.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<Data.Builder>
      Throws:
      IOException
    • hasKey

      public boolean hasKey()
       [Output Only] A key that provides more detail on the warning being
       returned. For example, for warnings where there are no results in a list
       request for a particular zone, this key might be scope and
       the key value might be the zone name. Other examples might be a key
       indicating a deprecated resource and a suggested replacement, or a
       warning about invalid network settings (for example, if an instance
       attempts to perform IP forwarding but is not enabled for IP forwarding).
       
      optional string key = 106079;
      Specified by:
      hasKey in interface DataOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public String getKey()
       [Output Only] A key that provides more detail on the warning being
       returned. For example, for warnings where there are no results in a list
       request for a particular zone, this key might be scope and
       the key value might be the zone name. Other examples might be a key
       indicating a deprecated resource and a suggested replacement, or a
       warning about invalid network settings (for example, if an instance
       attempts to perform IP forwarding but is not enabled for IP forwarding).
       
      optional string key = 106079;
      Specified by:
      getKey in interface DataOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       [Output Only] A key that provides more detail on the warning being
       returned. For example, for warnings where there are no results in a list
       request for a particular zone, this key might be scope and
       the key value might be the zone name. Other examples might be a key
       indicating a deprecated resource and a suggested replacement, or a
       warning about invalid network settings (for example, if an instance
       attempts to perform IP forwarding but is not enabled for IP forwarding).
       
      optional string key = 106079;
      Specified by:
      getKeyBytes in interface DataOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public Data.Builder setKey(String value)
       [Output Only] A key that provides more detail on the warning being
       returned. For example, for warnings where there are no results in a list
       request for a particular zone, this key might be scope and
       the key value might be the zone name. Other examples might be a key
       indicating a deprecated resource and a suggested replacement, or a
       warning about invalid network settings (for example, if an instance
       attempts to perform IP forwarding but is not enabled for IP forwarding).
       
      optional string key = 106079;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public Data.Builder clearKey()
       [Output Only] A key that provides more detail on the warning being
       returned. For example, for warnings where there are no results in a list
       request for a particular zone, this key might be scope and
       the key value might be the zone name. Other examples might be a key
       indicating a deprecated resource and a suggested replacement, or a
       warning about invalid network settings (for example, if an instance
       attempts to perform IP forwarding but is not enabled for IP forwarding).
       
      optional string key = 106079;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public Data.Builder setKeyBytes(com.google.protobuf.ByteString value)
       [Output Only] A key that provides more detail on the warning being
       returned. For example, for warnings where there are no results in a list
       request for a particular zone, this key might be scope and
       the key value might be the zone name. Other examples might be a key
       indicating a deprecated resource and a suggested replacement, or a
       warning about invalid network settings (for example, if an instance
       attempts to perform IP forwarding but is not enabled for IP forwarding).
       
      optional string key = 106079;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
       [Output Only] A warning data value corresponding to the key.
       
      optional string value = 111972721;
      Specified by:
      hasValue in interface DataOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public String getValue()
       [Output Only] A warning data value corresponding to the key.
       
      optional string value = 111972721;
      Specified by:
      getValue in interface DataOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
       [Output Only] A warning data value corresponding to the key.
       
      optional string value = 111972721;
      Specified by:
      getValueBytes in interface DataOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public Data.Builder setValue(String value)
       [Output Only] A warning data value corresponding to the key.
       
      optional string value = 111972721;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public Data.Builder clearValue()
       [Output Only] A warning data value corresponding to the key.
       
      optional string value = 111972721;
      Returns:
      This builder for chaining.
    • setValueBytes

      public Data.Builder setValueBytes(com.google.protobuf.ByteString value)
       [Output Only] A warning data value corresponding to the key.
       
      optional string value = 111972721;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.