Class NamedSet (1.105.0)

public final class NamedSet extends GeneratedMessage implements NamedSetOrBuilder

Protobuf type google.cloud.compute.v1.NamedSet

Implements

NamedSetOrBuilder

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()
Returns
Type Description
NamedSet

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static NamedSet.Builder newBuilder()
Returns
Type Description
NamedSet.Builder

newBuilder(NamedSet prototype)

public static NamedSet.Builder newBuilder(NamedSet prototype)
Parameter
Name Description
prototype NamedSet
Returns
Type Description
NamedSet.Builder

parseDelimitedFrom(InputStream input)

public static NamedSet parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NamedSet
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NamedSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NamedSet
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static NamedSet parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
NamedSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static NamedSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NamedSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static NamedSet parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
NamedSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static NamedSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NamedSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static NamedSet parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
NamedSet
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static NamedSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NamedSet
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static NamedSet parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
NamedSet
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static NamedSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NamedSet
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static NamedSet parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
NamedSet
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static NamedSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NamedSet
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<NamedSet> parser()
Returns
Type Description
Parser<NamedSet>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public NamedSet getDefaultInstanceForType()
Returns
Type Description
NamedSet

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;

Returns
Type Description
List<Expr>

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
Returns
Type Description
ExprOrBuilder

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()

public String 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()
Returns
Type Description
Parser<NamedSet>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getType()

public String 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()

public boolean 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()

public boolean 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public NamedSet.Builder newBuilderForType()
Returns
Type Description
NamedSet.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected NamedSet.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
NamedSet.Builder
Overrides

toBuilder()

public NamedSet.Builder toBuilder()
Returns
Type Description
NamedSet.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException