Package com.google.cloud.compute.v1
Interface MetadataFilterLabelMatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetadataFilterLabelMatch
,MetadataFilterLabelMatch.Builder
public interface MetadataFilterLabelMatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Name of metadata label.com.google.protobuf.ByteString
getNameBytes()
Name of metadata label.String
getValue()
The value of the label must match the specified value.com.google.protobuf.ByteString
getValueBytes()
The value of the label must match the specified value.boolean
hasName()
Name of metadata label.boolean
hasValue()
The value of the label must match the specified value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
optional string name = 3373707;
- Returns:
- Whether the name field is set.
-
getName
String getName()
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
optional string name = 3373707;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
hasValue
boolean hasValue()
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
optional string value = 111972721;
- Returns:
- Whether the value field is set.
-
getValue
String getValue()
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
optional string value = 111972721;
- Returns:
- The value.
-
getValueBytes
com.google.protobuf.ByteString getValueBytes()
The value of the label must match the specified value. value can have a maximum length of 1024 characters.
optional string value = 111972721;
- Returns:
- The bytes for value.
-
-