Package com.google.cloud.compute.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The path to be queried.Output only.Output only.The key to search for.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKind()Output only.com.google.protobuf.ByteStringOutput only.The path to be queried.com.google.protobuf.ByteStringThe path to be queried.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.The key to search for.com.google.protobuf.ByteStringThe key to search for.Output only.com.google.protobuf.ByteStringOutput only.booleanhasKind()Output only.booleanThe path to be queried.booleanOutput only.booleanOutput only.booleanThe key to search for.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(GuestAttributes other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setQueryPath(String value) The path to be queried.setQueryPathBytes(com.google.protobuf.ByteString value) The path to be queried.Output only.setQueryValue(GuestAttributesValue.Builder builderForValue) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setVariableKey(String value) The key to search for.setVariableKeyBytes(com.google.protobuf.ByteString value) The key to search for.setVariableValue(String value) Output only.setVariableValueBytes(com.google.protobuf.ByteString value) Output only.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GuestAttributes.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GuestAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GuestAttributes.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestAttributes.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
hasKindin interfaceGuestAttributesOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
optional string kind = 3292052;- Specified by:
getKindin interfaceGuestAttributesOrBuilder- 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:
getKindBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for kind.
-
setKind
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
Output only. [Output Only] Type of the resource. Alwayscompute#guestAttributes for guest attributes entry.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
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:
hasQueryPathin interfaceGuestAttributesOrBuilder- Returns:
- Whether the queryPath field is set.
-
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:
getQueryPathin interfaceGuestAttributesOrBuilder- 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:
getQueryPathBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for queryPath.
-
setQueryPath
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
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
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:
hasQueryValuein interfaceGuestAttributesOrBuilder- Returns:
- Whether the queryValue field is set.
-
getQueryValue
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;- Specified by:
getQueryValuein interfaceGuestAttributesOrBuilder- Returns:
- The queryValue.
-
setQueryValue
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874; -
setQueryValue
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874; -
mergeQueryValue
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874; -
clearQueryValue
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874; -
getQueryValueBuilder
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874; -
getQueryValueOrBuilder
Output only. [Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;- Specified by:
getQueryValueOrBuilderin interfaceGuestAttributesOrBuilder
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceGuestAttributesOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceGuestAttributesOrBuilder- 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:
getSelfLinkBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
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
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
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:
hasVariableKeyin interfaceGuestAttributesOrBuilder- Returns:
- Whether the variableKey field is set.
-
getVariableKey
The key to search for.
optional string variable_key = 164364828;- Specified by:
getVariableKeyin interfaceGuestAttributesOrBuilder- Returns:
- The variableKey.
-
getVariableKeyBytes
public com.google.protobuf.ByteString getVariableKeyBytes()The key to search for.
optional string variable_key = 164364828;- Specified by:
getVariableKeyBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for variableKey.
-
setVariableKey
The key to search for.
optional string variable_key = 164364828;- Parameters:
value- The variableKey to set.- Returns:
- This builder for chaining.
-
clearVariableKey
The key to search for.
optional string variable_key = 164364828;- Returns:
- This builder for chaining.
-
setVariableKeyBytes
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:
hasVariableValuein interfaceGuestAttributesOrBuilder- Returns:
- Whether the variableValue field is set.
-
getVariableValue
Output only. [Output Only] The value found for the requested key.
optional string variable_value = 124582382;- Specified by:
getVariableValuein interfaceGuestAttributesOrBuilder- 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:
getVariableValueBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for variableValue.
-
setVariableValue
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
Output only. [Output Only] The value found for the requested key.
optional string variable_value = 124582382;- Returns:
- This builder for chaining.
-
setVariableValueBytes
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.
-