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
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
INS_FIELD_NUMBER
public static final int INS_FIELD_NUMBER
Field Value
LOG_CONFIGS_FIELD_NUMBER
public static final int LOG_CONFIGS_FIELD_NUMBER
Field Value
NOT_INS_FIELD_NUMBER
public static final int NOT_INS_FIELD_NUMBER
Field Value
PERMISSIONS_FIELD_NUMBER
public static final int PERMISSIONS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Rule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Rule.Builder newBuilder()
Returns
newBuilder(Rule prototype)
public static Rule.Builder newBuilder(Rule prototype)
Parameter
Name | Description |
prototype | Rule
|
Returns
public static Rule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Rule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Rule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Rule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Rule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Rule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Rule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Rule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Rule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Rule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Rule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Rule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Rule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
Returns
getConditionsCount()
public int getConditionsCount()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
Returns
getConditionsList()
public List<Condition> getConditionsList()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
Returns
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
Returns
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
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()
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
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
Returns
getLogConfigsCount()
public int getLogConfigsCount()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
Returns
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
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
Returns
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
getParserForType()
public Parser<Rule> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Rule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Rule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Rule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions