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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestAttributes
build()
GuestAttributes
buildPartial()
GuestAttributes.Builder
clear()
GuestAttributes.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
GuestAttributes.Builder
clearKind()
[Output Only] Type of the resource.GuestAttributes.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
GuestAttributes.Builder
clearQueryPath()
The path to be queried.GuestAttributes.Builder
clearQueryValue()
[Output Only] The value of the requested queried path.GuestAttributes.Builder
clearSelfLink()
[Output Only] Server-defined URL for this resource.GuestAttributes.Builder
clearVariableKey()
The key to search for.GuestAttributes.Builder
clearVariableValue()
[Output Only] The value found for the requested key.GuestAttributes.Builder
clone()
GuestAttributes
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.String
getQueryPath()
The path to be queried.com.google.protobuf.ByteString
getQueryPathBytes()
The path to be queried.GuestAttributesValue
getQueryValue()
[Output Only] The value of the requested queried path.GuestAttributesValue.Builder
getQueryValueBuilder()
[Output Only] The value of the requested queried path.GuestAttributesValueOrBuilder
getQueryValueOrBuilder()
[Output Only] The value of the requested queried path.String
getSelfLink()
[Output Only] Server-defined URL for this resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.String
getVariableKey()
The key to search for.com.google.protobuf.ByteString
getVariableKeyBytes()
The key to search for.String
getVariableValue()
[Output Only] The value found for the requested key.com.google.protobuf.ByteString
getVariableValueBytes()
[Output Only] The value found for the requested key.boolean
hasKind()
[Output Only] Type of the resource.boolean
hasQueryPath()
The path to be queried.boolean
hasQueryValue()
[Output Only] The value of the requested queried path.boolean
hasSelfLink()
[Output Only] Server-defined URL for this resource.boolean
hasVariableKey()
The key to search for.boolean
hasVariableValue()
[Output Only] The value found for the requested key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
GuestAttributes.Builder
mergeFrom(GuestAttributes other)
GuestAttributes.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
GuestAttributes.Builder
mergeFrom(com.google.protobuf.Message other)
GuestAttributes.Builder
mergeQueryValue(GuestAttributesValue value)
[Output Only] The value of the requested queried path.GuestAttributes.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestAttributes.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
GuestAttributes.Builder
setKind(String value)
[Output Only] Type of the resource.GuestAttributes.Builder
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.GuestAttributes.Builder
setQueryPath(String value)
The path to be queried.GuestAttributes.Builder
setQueryPathBytes(com.google.protobuf.ByteString value)
The path to be queried.GuestAttributes.Builder
setQueryValue(GuestAttributesValue value)
[Output Only] The value of the requested queried path.GuestAttributes.Builder
setQueryValue(GuestAttributesValue.Builder builderForValue)
[Output Only] The value of the requested queried path.GuestAttributes.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
GuestAttributes.Builder
setSelfLink(String value)
[Output Only] Server-defined URL for this resource.GuestAttributes.Builder
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.GuestAttributes.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
GuestAttributes.Builder
setVariableKey(String value)
The key to search for.GuestAttributes.Builder
setVariableKeyBytes(com.google.protobuf.ByteString value)
The key to search for.GuestAttributes.Builder
setVariableValue(String value)
[Output Only] The value found for the requested key.GuestAttributes.Builder
setVariableValueBytes(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
clear
public GuestAttributes.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
getDefaultInstanceForType
public GuestAttributes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public GuestAttributes build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public GuestAttributes buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public GuestAttributes.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
setField
public GuestAttributes.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
clearField
public GuestAttributes.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
clearOneof
public GuestAttributes.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
setRepeatedField
public GuestAttributes.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
addRepeatedField
public GuestAttributes.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
mergeFrom
public GuestAttributes.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<GuestAttributes.Builder>
-
mergeFrom
public GuestAttributes.Builder mergeFrom(GuestAttributes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasKind
in 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:
getKind
in 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:
getKindBytes
in 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:
hasQueryPath
in 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:
getQueryPath
in 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:
getQueryPathBytes
in 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:
hasQueryValue
in 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:
getQueryValue
in 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:
getQueryValueOrBuilder
in interfaceGuestAttributesOrBuilder
-
hasSelfLink
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
- Specified by:
hasSelfLink
in 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:
getSelfLink
in 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:
getSelfLinkBytes
in 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:
hasVariableKey
in interfaceGuestAttributesOrBuilder
- 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 interfaceGuestAttributesOrBuilder
- Returns:
- The variableKey.
-
getVariableKeyBytes
public com.google.protobuf.ByteString getVariableKeyBytes()
The key to search for.
optional string variable_key = 164364828;
- Specified by:
getVariableKeyBytes
in 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:
hasVariableValue
in 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:
getVariableValue
in 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:
getVariableValueBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
mergeUnknownFields
public final GuestAttributes.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<GuestAttributes.Builder>
-
-