Class Rule (1.61.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
Type Description
int

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

INS_FIELD_NUMBER

public static final int INS_FIELD_NUMBER
Field Value
Type Description
int

LOG_CONFIGS_FIELD_NUMBER

public static final int LOG_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

NOT_INS_FIELD_NUMBER

public static final int NOT_INS_FIELD_NUMBER
Field Value
Type Description
int

PERMISSIONS_FIELD_NUMBER

public static final int PERMISSIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Rule getDefaultInstance()
Returns
Type Description
Rule

getDescriptor()

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

newBuilder()

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

newBuilder(Rule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
Condition

getConditionsCount()

public int getConditionsCount()

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

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.ConditionOrBuilder>

getDefaultInstanceForType()

public Rule getDefaultInstanceForType()
Returns
Type Description
Rule

getDescription()

public String getDescription()

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

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

optional string description = 422937596;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

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

The count of ins.

getInsList()

public ProtocolStringList getInsList()

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

repeated string ins = 104430;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

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

A list containing the notIns.

getParserForType()

public Parser<Rule> getParserForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

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

The count of permissions.

getPermissionsList()

public ProtocolStringList getPermissionsList()

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

repeated string permissions = 59962500;

Returns
Type Description
ProtocolStringList

A list containing the permissions.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
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
Type Description
boolean

Whether the description field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Rule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Rule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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