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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GuestAttributes.Builder> implements GuestAttributesOrBuilder
A guest attributes entry.
Protobuf typegoogle.cloud.compute.v1.GuestAttributes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GuestAttributes.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GuestAttributesbuild()GuestAttributesbuildPartial()GuestAttributes.Builderclear()GuestAttributes.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)GuestAttributes.BuilderclearKind()[Output Only] Type of the resource.GuestAttributes.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)GuestAttributes.BuilderclearQueryPath()The path to be queried.GuestAttributes.BuilderclearQueryValue()[Output Only] The value of the requested queried path.GuestAttributes.BuilderclearSelfLink()[Output Only] Server-defined URL for this resource.GuestAttributes.BuilderclearVariableKey()The key to search for.GuestAttributes.BuilderclearVariableValue()[Output Only] The value found for the requested key.GuestAttributes.Builderclone()GuestAttributesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetKind()[Output Only] Type of the resource.com.google.protobuf.ByteStringgetKindBytes()[Output Only] Type of the resource.StringgetQueryPath()The path to be queried.com.google.protobuf.ByteStringgetQueryPathBytes()The path to be queried.GuestAttributesValuegetQueryValue()[Output Only] The value of the requested queried path.GuestAttributesValue.BuildergetQueryValueBuilder()[Output Only] The value of the requested queried path.GuestAttributesValueOrBuildergetQueryValueOrBuilder()[Output Only] The value of the requested queried path.StringgetSelfLink()[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteStringgetSelfLinkBytes()[Output Only] Server-defined URL for this resource.StringgetVariableKey()The key to search for.com.google.protobuf.ByteStringgetVariableKeyBytes()The key to search for.StringgetVariableValue()[Output Only] The value found for the requested key.com.google.protobuf.ByteStringgetVariableValueBytes()[Output Only] The value found for the requested key.booleanhasKind()[Output Only] Type of the resource.booleanhasQueryPath()The path to be queried.booleanhasQueryValue()[Output Only] The value of the requested queried path.booleanhasSelfLink()[Output Only] Server-defined URL for this resource.booleanhasVariableKey()The key to search for.booleanhasVariableValue()[Output Only] The value found for the requested key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GuestAttributes.BuildermergeFrom(GuestAttributes other)GuestAttributes.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GuestAttributes.BuildermergeFrom(com.google.protobuf.Message other)GuestAttributes.BuildermergeQueryValue(GuestAttributesValue value)[Output Only] The value of the requested queried path.GuestAttributes.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GuestAttributes.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)GuestAttributes.BuildersetKind(String value)[Output Only] Type of the resource.GuestAttributes.BuildersetKindBytes(com.google.protobuf.ByteString value)[Output Only] Type of the resource.GuestAttributes.BuildersetQueryPath(String value)The path to be queried.GuestAttributes.BuildersetQueryPathBytes(com.google.protobuf.ByteString value)The path to be queried.GuestAttributes.BuildersetQueryValue(GuestAttributesValue value)[Output Only] The value of the requested queried path.GuestAttributes.BuildersetQueryValue(GuestAttributesValue.Builder builderForValue)[Output Only] The value of the requested queried path.GuestAttributes.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)GuestAttributes.BuildersetSelfLink(String value)[Output Only] Server-defined URL for this resource.GuestAttributes.BuildersetSelfLinkBytes(com.google.protobuf.ByteString value)[Output Only] Server-defined URL for this resource.GuestAttributes.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GuestAttributes.BuildersetVariableKey(String value)The key to search for.GuestAttributes.BuildersetVariableKeyBytes(com.google.protobuf.ByteString value)The key to search for.GuestAttributes.BuildersetVariableValue(String value)[Output Only] The value found for the requested key.GuestAttributes.BuildersetVariableValueBytes(com.google.protobuf.ByteString value)[Output Only] The value found for the requested key.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
clear
public GuestAttributes.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
getDefaultInstanceForType
public GuestAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestAttributes build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestAttributes buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestAttributes.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
setField
public GuestAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
clearField
public GuestAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
clearOneof
public GuestAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
setRepeatedField
public GuestAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
addRepeatedField
public GuestAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
mergeFrom
public GuestAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GuestAttributes.Builder>
-
mergeFrom
public GuestAttributes.Builder mergeFrom(GuestAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;- Specified by:
hasKindin interfaceGuestAttributesOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
public String getKind()
[Output Only] Type of the resource. Always compute#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] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for kind.
-
setKind
public GuestAttributes.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#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] Type of the resource. Always compute#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] Type of the resource. Always compute#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
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:
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
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] 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
public GuestAttributesValue getQueryValue()
[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
public GuestAttributes.Builder setQueryValue(GuestAttributesValue value)
[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] 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] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
-
clearQueryValue
public GuestAttributes.Builder clearQueryValue()
[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] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
-
getQueryValueOrBuilder
public GuestAttributesValueOrBuilder getQueryValueOrBuilder()
[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] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceGuestAttributesOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
public String getSelfLink()
[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] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
public GuestAttributes.Builder setSelfLink(String value)
[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] 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] 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
public String 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
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] The value found for the requested key.
optional string variable_value = 124582382;- Specified by:
hasVariableValuein interfaceGuestAttributesOrBuilder- Returns:
- Whether the variableValue field is set.
-
getVariableValue
public String getVariableValue()
[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] The value found for the requested key.
optional string variable_value = 124582382;- Specified by:
getVariableValueBytesin interfaceGuestAttributesOrBuilder- Returns:
- The bytes for variableValue.
-
setVariableValue
public GuestAttributes.Builder setVariableValue(String value)
[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] 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] 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.
-
setUnknownFields
public final GuestAttributes.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
mergeUnknownFields
public final GuestAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
-