public final class NamedSet extends GeneratedMessage implements NamedSetOrBuilder
Protobuf type google.cloud.compute.v1.NamedSet
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ELEMENTS_FIELD_NUMBER
public static final int ELEMENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static NamedSet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NamedSet.Builder newBuilder()
newBuilder(NamedSet prototype)
public static NamedSet.Builder newBuilder(NamedSet prototype)
| Parameter |
| Name |
Description |
prototype |
NamedSet
|
public static NamedSet parseDelimitedFrom(InputStream input)
public static NamedSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NamedSet parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NamedSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NamedSet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NamedSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NamedSet parseFrom(CodedInputStream input)
public static NamedSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NamedSet parseFrom(InputStream input)
public static NamedSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NamedSet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NamedSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NamedSet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public NamedSet getDefaultInstanceForType()
getDescription()
public String getDescription()
An optional description of named set.
optional string description = 422937596;
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of named set.
optional string description = 422937596;
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getElements(int index)
public Expr getElements(int index)
CEL expressions that are comparable to constructs of this set's type
(see Policy Language).
repeated .google.cloud.compute.v1.Expr elements = 528531703;
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Expr |
|
getElementsCount()
public int getElementsCount()
CEL expressions that are comparable to constructs of this set's type
(see Policy Language).
repeated .google.cloud.compute.v1.Expr elements = 528531703;
| Returns |
| Type |
Description |
int |
|
getElementsList()
public List<Expr> getElementsList()
CEL expressions that are comparable to constructs of this set's type
(see Policy Language).
repeated .google.cloud.compute.v1.Expr elements = 528531703;
getElementsOrBuilder(int index)
public ExprOrBuilder getElementsOrBuilder(int index)
CEL expressions that are comparable to constructs of this set's type
(see Policy Language).
repeated .google.cloud.compute.v1.Expr elements = 528531703;
| Parameter |
| Name |
Description |
index |
int
|
getElementsOrBuilderList()
public List<? extends ExprOrBuilder> getElementsOrBuilderList()
CEL expressions that are comparable to constructs of this set's type
(see Policy Language).
repeated .google.cloud.compute.v1.Expr elements = 528531703;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.ExprOrBuilder> |
|
getFingerprint()
public String getFingerprint()
A fingerprint for the Named Set being applied to this Router, which is
essentially a hash of the Named Set used for optimistic locking.
The fingerprint is initially generated by Compute Engine and changes
after every request to modify or update the Named Set. You must always
provide an up-to-date fingerprint hash in order to update or change
labels.
To see the latest fingerprint, make a getNamedSet() request
to retrieve a Named Set.
optional string fingerprint = 234678500;
| Returns |
| Type |
Description |
String |
The fingerprint.
|
getFingerprintBytes()
public ByteString getFingerprintBytes()
A fingerprint for the Named Set being applied to this Router, which is
essentially a hash of the Named Set used for optimistic locking.
The fingerprint is initially generated by Compute Engine and changes
after every request to modify or update the Named Set. You must always
provide an up-to-date fingerprint hash in order to update or change
labels.
To see the latest fingerprint, make a getNamedSet() request
to retrieve a Named Set.
optional string fingerprint = 234678500;
| Returns |
| Type |
Description |
ByteString |
The bytes for fingerprint.
|
getName()
This set's name, which must be a resource ID segment and unique within all
named sets owned by the Router. Name should conform to RFC1035.
optional string name = 3373707;
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
This set's name, which must be a resource ID segment and unique within all
named sets owned by the Router. Name should conform to RFC1035.
optional string name = 3373707;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<NamedSet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getType()
This named set's type
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
String |
The type.
|
getTypeBytes()
public ByteString getTypeBytes()
This named set's type
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
ByteString |
The bytes for type.
|
hasDescription()
public boolean hasDescription()
An optional description of named set.
optional string description = 422937596;
| Returns |
| Type |
Description |
boolean |
Whether the description field is set.
|
hasFingerprint()
public boolean hasFingerprint()
A fingerprint for the Named Set being applied to this Router, which is
essentially a hash of the Named Set used for optimistic locking.
The fingerprint is initially generated by Compute Engine and changes
after every request to modify or update the Named Set. You must always
provide an up-to-date fingerprint hash in order to update or change
labels.
To see the latest fingerprint, make a getNamedSet() request
to retrieve a Named Set.
optional string fingerprint = 234678500;
| Returns |
| Type |
Description |
boolean |
Whether the fingerprint field is set.
|
hasName()
This set's name, which must be a resource ID segment and unique within all
named sets owned by the Router. Name should conform to RFC1035.
optional string name = 3373707;
| Returns |
| Type |
Description |
boolean |
Whether the name field is set.
|
hasType()
This named set's type
Check the Type enum for the list of possible values.
optional string type = 3575610;
| Returns |
| Type |
Description |
boolean |
Whether the type field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NamedSet.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected NamedSet.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public NamedSet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides