Class SecurityPoliciesScopedList (1.12.0)

public final class SecurityPoliciesScopedList extends GeneratedMessageV3 implements SecurityPoliciesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPoliciesScopedList

Static Fields

SECURITY_POLICIES_FIELD_NUMBER

public static final int SECURITY_POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

WARNING_FIELD_NUMBER

public static final int WARNING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPoliciesScopedList getDefaultInstance()
Returns
TypeDescription
SecurityPoliciesScopedList

getDescriptor()

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

newBuilder()

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

newBuilder(SecurityPoliciesScopedList prototype)

public static SecurityPoliciesScopedList.Builder newBuilder(SecurityPoliciesScopedList prototype)
Parameter
NameDescription
prototypeSecurityPoliciesScopedList
Returns
TypeDescription
SecurityPoliciesScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SecurityPoliciesScopedList getDefaultInstanceForType()
Returns
TypeDescription
SecurityPoliciesScopedList

getParserForType()

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

getSecurityPolicies(int index)

public SecurityPolicy getSecurityPolicies(int index)

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityPolicy

getSecurityPoliciesCount()

public int getSecurityPoliciesCount()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
TypeDescription
int

getSecurityPoliciesList()

public List<SecurityPolicy> getSecurityPoliciesList()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Returns
TypeDescription
List<SecurityPolicy>

getSecurityPoliciesOrBuilder(int index)

public SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder(int index)

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityPolicyOrBuilder

getSecurityPoliciesOrBuilderList()

public List<? extends SecurityPolicyOrBuilder> getSecurityPoliciesOrBuilderList()

A list of SecurityPolicies contained in this scope.

repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791;

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getWarning()

public Warning getWarning()

Informational warning which replaces the list of security policies when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
Warning

The warning.

getWarningOrBuilder()

public WarningOrBuilder getWarningOrBuilder()

Informational warning which replaces the list of security policies when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
WarningOrBuilder

hasWarning()

public boolean hasWarning()

Informational warning which replaces the list of security policies when the list is empty.

optional .google.cloud.compute.v1.Warning warning = 50704284;

Returns
TypeDescription
boolean

Whether the warning 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 SecurityPoliciesScopedList.Builder newBuilderForType()
Returns
TypeDescription
SecurityPoliciesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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