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
@Generated
public interface MetadataFilterLabelMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of metadata label.com.google.protobuf.ByteStringName of metadata label.getValue()The value of the label must match the specified value.com.google.protobuf.ByteStringThe value of the label must match the specified value.booleanhasName()Name of metadata label.booleanhasValue()The value of the label must match the specified value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-