Class Rule (1.24.0)

public final class Rule extends GeneratedMessageV3 implements RuleOrBuilder

This is deprecated and has no effect. Do not use.

Protobuf type google.cloud.compute.v1.Rule

Implements

RuleOrBuilder

Static Fields

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
Field Value
TypeDescription
int

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

INS_FIELD_NUMBER

public static final int INS_FIELD_NUMBER
Field Value
TypeDescription
int

LOG_CONFIGS_FIELD_NUMBER

public static final int LOG_CONFIGS_FIELD_NUMBER
Field Value
TypeDescription
int

NOT_INS_FIELD_NUMBER

public static final int NOT_INS_FIELD_NUMBER
Field Value
TypeDescription
int

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Rule getDefaultInstance()
Returns
TypeDescription
Rule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Rule.Builder newBuilder()
Returns
TypeDescription
Rule.Builder

newBuilder(Rule prototype)

public static Rule.Builder newBuilder(Rule prototype)
Parameter
NameDescription
prototypeRule
Returns
TypeDescription
Rule.Builder

parseDelimitedFrom(InputStream input)

public static Rule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Rule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Rule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Rule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Rule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Rule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Rule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Rule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Rule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Rule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Rule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Rule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Rule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Rule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Rule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Rule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Rule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Rule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Rule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Rule> parser()
Returns
TypeDescription
Parser<Rule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAction()

public String getAction()

This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
TypeDescription
String

The action.

getActionBytes()

public ByteString getActionBytes()

This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
TypeDescription
ByteString

The bytes for action.

getConditions(int index)

public Condition getConditions(int index)

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.Condition conditions = 142882488;

Parameter
NameDescription
indexint
Returns
TypeDescription
Condition

getConditionsCount()

public int getConditionsCount()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.Condition conditions = 142882488;

Returns
TypeDescription
int

getConditionsList()

public List<Condition> getConditionsList()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.Condition conditions = 142882488;

Returns
TypeDescription
List<Condition>

getConditionsOrBuilder(int index)

public ConditionOrBuilder getConditionsOrBuilder(int index)

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.Condition conditions = 142882488;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.Condition conditions = 142882488;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.ConditionOrBuilder>

getDefaultInstanceForType()

public Rule getDefaultInstanceForType()
Returns
TypeDescription
Rule

getDescription()

public String getDescription()

This is deprecated and has no effect. Do not use.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

This is deprecated and has no effect. Do not use.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getIns(int index)

public String getIns(int index)

This is deprecated and has no effect. Do not use.

repeated string ins = 104430;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ins at the given index.

getInsBytes(int index)

public ByteString getInsBytes(int index)

This is deprecated and has no effect. Do not use.

repeated string ins = 104430;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ins at the given index.

getInsCount()

public int getInsCount()

This is deprecated and has no effect. Do not use.

repeated string ins = 104430;

Returns
TypeDescription
int

The count of ins.

getInsList()

public ProtocolStringList getInsList()

This is deprecated and has no effect. Do not use.

repeated string ins = 104430;

Returns
TypeDescription
ProtocolStringList

A list containing the ins.

getLogConfigs(int index)

public LogConfig getLogConfigs(int index)

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogConfig

getLogConfigsCount()

public int getLogConfigsCount()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

Returns
TypeDescription
int

getLogConfigsList()

public List<LogConfig> getLogConfigsList()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

Returns
TypeDescription
List<LogConfig>

getLogConfigsOrBuilder(int index)

public LogConfigOrBuilder getLogConfigsOrBuilder(int index)

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogConfigOrBuilder

getLogConfigsOrBuilderList()

public List<? extends LogConfigOrBuilder> getLogConfigsOrBuilderList()

This is deprecated and has no effect. Do not use.

repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.LogConfigOrBuilder>

getNotIns(int index)

public String getNotIns(int index)

This is deprecated and has no effect. Do not use.

repeated string not_ins = 518443138;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The notIns at the given index.

getNotInsBytes(int index)

public ByteString getNotInsBytes(int index)

This is deprecated and has no effect. Do not use.

repeated string not_ins = 518443138;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the notIns at the given index.

getNotInsCount()

public int getNotInsCount()

This is deprecated and has no effect. Do not use.

repeated string not_ins = 518443138;

Returns
TypeDescription
int

The count of notIns.

getNotInsList()

public ProtocolStringList getNotInsList()

This is deprecated and has no effect. Do not use.

repeated string not_ins = 518443138;

Returns
TypeDescription
ProtocolStringList

A list containing the notIns.

getParserForType()

public Parser<Rule> getParserForType()
Returns
TypeDescription
Parser<Rule>
Overrides

getPermissions(int index)

public String getPermissions(int index)

This is deprecated and has no effect. Do not use.

repeated string permissions = 59962500;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The permissions at the given index.

getPermissionsBytes(int index)

public ByteString getPermissionsBytes(int index)

This is deprecated and has no effect. Do not use.

repeated string permissions = 59962500;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the permissions at the given index.

getPermissionsCount()

public int getPermissionsCount()

This is deprecated and has no effect. Do not use.

repeated string permissions = 59962500;

Returns
TypeDescription
int

The count of permissions.

getPermissionsList()

public ProtocolStringList getPermissionsList()

This is deprecated and has no effect. Do not use.

repeated string permissions = 59962500;

Returns
TypeDescription
ProtocolStringList

A list containing the permissions.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAction()

public boolean hasAction()

This is deprecated and has no effect. Do not use. Check the Action enum for the list of possible values.

optional string action = 187661878;

Returns
TypeDescription
boolean

Whether the action field is set.

hasDescription()

public boolean hasDescription()

This is deprecated and has no effect. Do not use.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Rule.Builder newBuilderForType()
Returns
TypeDescription
Rule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Rule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Rule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Rule.Builder toBuilder()
Returns
TypeDescription
Rule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException