- 1.63.0 (latest)
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class GuestAttributes.Builder extends GeneratedMessageV3.Builder<GuestAttributes.Builder> implements GuestAttributesOrBuilder
A guest attributes entry.
Protobuf type google.cloud.compute.v1.GuestAttributes
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GuestAttributes.BuilderImplements
GuestAttributesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestAttributes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
build()
public GuestAttributes build()
Returns | |
---|---|
Type | Description |
GuestAttributes |
buildPartial()
public GuestAttributes buildPartial()
Returns | |
---|---|
Type | Description |
GuestAttributes |
clear()
public GuestAttributes.Builder clear()
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
clearField(Descriptors.FieldDescriptor field)
public GuestAttributes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
clearKind()
public GuestAttributes.Builder clearKind()
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestAttributes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
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 | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
clearQueryValue()
public GuestAttributes.Builder clearQueryValue()
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
clearSelfLink()
public GuestAttributes.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
clearVariableKey()
public GuestAttributes.Builder clearVariableKey()
The key to search for.
optional string variable_key = 164364828;
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
clearVariableValue()
public GuestAttributes.Builder clearVariableValue()
[Output Only] The value found for the requested key.
optional string variable_value = 124582382;
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
clone()
public GuestAttributes.Builder clone()
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
getDefaultInstanceForType()
public GuestAttributes getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GuestAttributes |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getKind()
public String getKind()
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kind. |
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;
Returns | |
---|---|
Type | Description |
String | The queryPath. |
getQueryPathBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for queryPath. |
getQueryValue()
public GuestAttributesValue getQueryValue()
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Returns | |
---|---|
Type | Description |
GuestAttributesValue | The queryValue. |
getQueryValueBuilder()
public GuestAttributesValue.Builder getQueryValueBuilder()
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Returns | |
---|---|
Type | Description |
GuestAttributesValue.Builder |
getQueryValueOrBuilder()
public GuestAttributesValueOrBuilder getQueryValueOrBuilder()
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Returns | |
---|---|
Type | Description |
GuestAttributesValueOrBuilder |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for selfLink. |
getVariableKey()
public String getVariableKey()
The key to search for.
optional string variable_key = 164364828;
Returns | |
---|---|
Type | Description |
String | The variableKey. |
getVariableKeyBytes()
public ByteString getVariableKeyBytes()
The key to search for.
optional string variable_key = 164364828;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for variableKey. |
getVariableValue()
public String getVariableValue()
[Output Only] The value found for the requested key.
optional string variable_value = 124582382;
Returns | |
---|---|
Type | Description |
String | The variableValue. |
getVariableValueBytes()
public ByteString getVariableValueBytes()
[Output Only] The value found for the requested key.
optional string variable_value = 124582382;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for variableValue. |
hasKind()
public boolean hasKind()
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
boolean | Whether the kind field is set. |
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the queryPath field is set. |
hasQueryValue()
public boolean hasQueryValue()
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Returns | |
---|---|
Type | Description |
boolean | Whether the queryValue field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
boolean | Whether the selfLink field is set. |
hasVariableKey()
public boolean hasVariableKey()
The key to search for.
optional string variable_key = 164364828;
Returns | |
---|---|
Type | Description |
boolean | Whether the variableKey field is set. |
hasVariableValue()
public boolean hasVariableValue()
[Output Only] The value found for the requested key.
optional string variable_value = 124582382;
Returns | |
---|---|
Type | Description |
boolean | Whether the variableValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GuestAttributes other)
public GuestAttributes.Builder mergeFrom(GuestAttributes other)
Parameter | |
---|---|
Name | Description |
other | GuestAttributes |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GuestAttributes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GuestAttributes.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
mergeQueryValue(GuestAttributesValue value)
public GuestAttributes.Builder mergeQueryValue(GuestAttributesValue value)
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Parameter | |
---|---|
Name | Description |
value | GuestAttributesValue |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestAttributes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GuestAttributes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
setKind(String value)
public GuestAttributes.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;
Parameter | |
---|---|
Name | Description |
value | String The kind to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public GuestAttributes.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
optional string kind = 3292052;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for kind to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setQueryPath(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The queryPath to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setQueryPathBytes(ByteString value)
public GuestAttributes.Builder setQueryPathBytes(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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for queryPath to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setQueryValue(GuestAttributesValue value)
public GuestAttributes.Builder setQueryValue(GuestAttributesValue value)
[Output Only] The value of the requested queried path.
optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;
Parameter | |
---|---|
Name | Description |
value | GuestAttributesValue |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
setQueryValue(GuestAttributesValue.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue | GuestAttributesValue.Builder |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestAttributes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
setSelfLink(String value)
public GuestAttributes.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Parameter | |
---|---|
Name | Description |
value | String The selfLink to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public GuestAttributes.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for selfLink to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestAttributes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder |
setVariableKey(String value)
public GuestAttributes.Builder setVariableKey(String value)
The key to search for.
optional string variable_key = 164364828;
Parameter | |
---|---|
Name | Description |
value | String The variableKey to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setVariableKeyBytes(ByteString value)
public GuestAttributes.Builder setVariableKeyBytes(ByteString value)
The key to search for.
optional string variable_key = 164364828;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for variableKey to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setVariableValue(String value)
public GuestAttributes.Builder setVariableValue(String value)
[Output Only] The value found for the requested key.
optional string variable_value = 124582382;
Parameter | |
---|---|
Name | Description |
value | String The variableValue to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |
setVariableValueBytes(ByteString value)
public GuestAttributes.Builder setVariableValueBytes(ByteString value)
[Output Only] The value found for the requested key.
optional string variable_value = 124582382;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for variableValue to set. |
Returns | |
---|---|
Type | Description |
GuestAttributes.Builder | This builder for chaining. |