Package com.google.cloud.compute.v1
Class Rule
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.compute.v1.Rule
-
- All Implemented Interfaces:
RuleOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Rule extends com.google.protobuf.GeneratedMessageV3 implements RuleOrBuilder
This is deprecated and has no effect. Do not use.
Protobuf typegoogle.cloud.compute.v1.Rule
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.Action
This is deprecated and has no effect.static class
Rule.Builder
This is deprecated and has no effect.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACTION_FIELD_NUMBER
static int
CONDITIONS_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
INS_FIELD_NUMBER
static int
LOG_CONFIGS_FIELD_NUMBER
static int
NOT_INS_FIELD_NUMBER
static int
PERMISSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAction()
This is deprecated and has no effect.com.google.protobuf.ByteString
getActionBytes()
This is deprecated and has no effect.Condition
getConditions(int index)
This is deprecated and has no effect.int
getConditionsCount()
This is deprecated and has no effect.List<Condition>
getConditionsList()
This is deprecated and has no effect.ConditionOrBuilder
getConditionsOrBuilder(int index)
This is deprecated and has no effect.List<? extends ConditionOrBuilder>
getConditionsOrBuilderList()
This is deprecated and has no effect.static Rule
getDefaultInstance()
Rule
getDefaultInstanceForType()
String
getDescription()
This is deprecated and has no effect.com.google.protobuf.ByteString
getDescriptionBytes()
This is deprecated and has no effect.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getIns(int index)
This is deprecated and has no effect.com.google.protobuf.ByteString
getInsBytes(int index)
This is deprecated and has no effect.int
getInsCount()
This is deprecated and has no effect.com.google.protobuf.ProtocolStringList
getInsList()
This is deprecated and has no effect.LogConfig
getLogConfigs(int index)
This is deprecated and has no effect.int
getLogConfigsCount()
This is deprecated and has no effect.List<LogConfig>
getLogConfigsList()
This is deprecated and has no effect.LogConfigOrBuilder
getLogConfigsOrBuilder(int index)
This is deprecated and has no effect.List<? extends LogConfigOrBuilder>
getLogConfigsOrBuilderList()
This is deprecated and has no effect.String
getNotIns(int index)
This is deprecated and has no effect.com.google.protobuf.ByteString
getNotInsBytes(int index)
This is deprecated and has no effect.int
getNotInsCount()
This is deprecated and has no effect.com.google.protobuf.ProtocolStringList
getNotInsList()
This is deprecated and has no effect.com.google.protobuf.Parser<Rule>
getParserForType()
String
getPermissions(int index)
This is deprecated and has no effect.com.google.protobuf.ByteString
getPermissionsBytes(int index)
This is deprecated and has no effect.int
getPermissionsCount()
This is deprecated and has no effect.com.google.protobuf.ProtocolStringList
getPermissionsList()
This is deprecated and has no effect.int
getSerializedSize()
boolean
hasAction()
This is deprecated and has no effect.boolean
hasDescription()
This is deprecated and has no effect.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Rule.Builder
newBuilder()
static Rule.Builder
newBuilder(Rule prototype)
Rule.Builder
newBuilderForType()
protected Rule.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Rule
parseDelimitedFrom(InputStream input)
static Rule
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(byte[] data)
static Rule
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(com.google.protobuf.ByteString data)
static Rule
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(com.google.protobuf.CodedInputStream input)
static Rule
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(InputStream input)
static Rule
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(ByteBuffer data)
static Rule
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Rule>
parser()
Rule.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITIONS_FIELD_NUMBER
public static final int CONDITIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INS_FIELD_NUMBER
public static final int INS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOG_CONFIGS_FIELD_NUMBER
public static final int LOG_CONFIGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOT_INS_FIELD_NUMBER
public static final int NOT_INS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PERMISSIONS_FIELD_NUMBER
public static final int PERMISSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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;
- Specified by:
hasAction
in interfaceRuleOrBuilder
- Returns:
- Whether the action field is set.
-
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;
- Specified by:
getAction
in interfaceRuleOrBuilder
- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.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;
- Specified by:
getActionBytes
in interfaceRuleOrBuilder
- Returns:
- The bytes for action.
-
getConditionsList
public List<Condition> getConditionsList()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
- Specified by:
getConditionsList
in interfaceRuleOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
- Specified by:
getConditionsOrBuilderList
in interfaceRuleOrBuilder
-
getConditionsCount
public int getConditionsCount()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
- Specified by:
getConditionsCount
in interfaceRuleOrBuilder
-
getConditions
public Condition getConditions(int index)
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
- Specified by:
getConditions
in interfaceRuleOrBuilder
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.Condition conditions = 142882488;
- Specified by:
getConditionsOrBuilder
in interfaceRuleOrBuilder
-
hasDescription
public boolean hasDescription()
This is deprecated and has no effect. Do not use.
optional string description = 422937596;
- Specified by:
hasDescription
in interfaceRuleOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
public String getDescription()
This is deprecated and has no effect. Do not use.
optional string description = 422937596;
- Specified by:
getDescription
in interfaceRuleOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
This is deprecated and has no effect. Do not use.
optional string description = 422937596;
- Specified by:
getDescriptionBytes
in interfaceRuleOrBuilder
- Returns:
- The bytes for description.
-
getInsList
public com.google.protobuf.ProtocolStringList getInsList()
This is deprecated and has no effect. Do not use.
repeated string ins = 104430;
- Specified by:
getInsList
in interfaceRuleOrBuilder
- Returns:
- A list containing the ins.
-
getInsCount
public int getInsCount()
This is deprecated and has no effect. Do not use.
repeated string ins = 104430;
- Specified by:
getInsCount
in interfaceRuleOrBuilder
- Returns:
- The count of ins.
-
getIns
public String getIns(int index)
This is deprecated and has no effect. Do not use.
repeated string ins = 104430;
- Specified by:
getIns
in interfaceRuleOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The ins at the given index.
-
getInsBytes
public com.google.protobuf.ByteString getInsBytes(int index)
This is deprecated and has no effect. Do not use.
repeated string ins = 104430;
- Specified by:
getInsBytes
in interfaceRuleOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the ins at the given index.
-
getLogConfigsList
public List<LogConfig> getLogConfigsList()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
- Specified by:
getLogConfigsList
in interfaceRuleOrBuilder
-
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;
- Specified by:
getLogConfigsOrBuilderList
in interfaceRuleOrBuilder
-
getLogConfigsCount
public int getLogConfigsCount()
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
- Specified by:
getLogConfigsCount
in interfaceRuleOrBuilder
-
getLogConfigs
public LogConfig getLogConfigs(int index)
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
- Specified by:
getLogConfigs
in interfaceRuleOrBuilder
-
getLogConfigsOrBuilder
public LogConfigOrBuilder getLogConfigsOrBuilder(int index)
This is deprecated and has no effect. Do not use.
repeated .google.cloud.compute.v1.LogConfig log_configs = 152873846;
- Specified by:
getLogConfigsOrBuilder
in interfaceRuleOrBuilder
-
getNotInsList
public com.google.protobuf.ProtocolStringList getNotInsList()
This is deprecated and has no effect. Do not use.
repeated string not_ins = 518443138;
- Specified by:
getNotInsList
in interfaceRuleOrBuilder
- Returns:
- A list containing the notIns.
-
getNotInsCount
public int getNotInsCount()
This is deprecated and has no effect. Do not use.
repeated string not_ins = 518443138;
- Specified by:
getNotInsCount
in interfaceRuleOrBuilder
- Returns:
- The count of notIns.
-
getNotIns
public String getNotIns(int index)
This is deprecated and has no effect. Do not use.
repeated string not_ins = 518443138;
- Specified by:
getNotIns
in interfaceRuleOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The notIns at the given index.
-
getNotInsBytes
public com.google.protobuf.ByteString getNotInsBytes(int index)
This is deprecated and has no effect. Do not use.
repeated string not_ins = 518443138;
- Specified by:
getNotInsBytes
in interfaceRuleOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the notIns at the given index.
-
getPermissionsList
public com.google.protobuf.ProtocolStringList getPermissionsList()
This is deprecated and has no effect. Do not use.
repeated string permissions = 59962500;
- Specified by:
getPermissionsList
in interfaceRuleOrBuilder
- Returns:
- A list containing the permissions.
-
getPermissionsCount
public int getPermissionsCount()
This is deprecated and has no effect. Do not use.
repeated string permissions = 59962500;
- Specified by:
getPermissionsCount
in interfaceRuleOrBuilder
- Returns:
- The count of permissions.
-
getPermissions
public String getPermissions(int index)
This is deprecated and has no effect. Do not use.
repeated string permissions = 59962500;
- Specified by:
getPermissions
in interfaceRuleOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The permissions at the given index.
-
getPermissionsBytes
public com.google.protobuf.ByteString getPermissionsBytes(int index)
This is deprecated and has no effect. Do not use.
repeated string permissions = 59962500;
- Specified by:
getPermissionsBytes
in interfaceRuleOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the permissions at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Rule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rule parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rule parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Rule.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Rule.Builder newBuilder()
-
newBuilder
public static Rule.Builder newBuilder(Rule prototype)
-
toBuilder
public Rule.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Rule getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Rule> parser()
-
getParserForType
public com.google.protobuf.Parser<Rule> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Rule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-