Class ResourcePoliciesScopedList (1.25.0)

public final class ResourcePoliciesScopedList extends GeneratedMessageV3 implements ResourcePoliciesScopedListOrBuilder

Protobuf type google.cloud.compute.v1.ResourcePoliciesScopedList

Static Fields

RESOURCE_POLICIES_FIELD_NUMBER

public static final int RESOURCE_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 ResourcePoliciesScopedList getDefaultInstance()
Returns
TypeDescription
ResourcePoliciesScopedList

getDescriptor()

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

newBuilder()

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

newBuilder(ResourcePoliciesScopedList prototype)

public static ResourcePoliciesScopedList.Builder newBuilder(ResourcePoliciesScopedList prototype)
Parameter
NameDescription
prototypeResourcePoliciesScopedList
Returns
TypeDescription
ResourcePoliciesScopedList.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ResourcePoliciesScopedList getDefaultInstanceForType()
Returns
TypeDescription
ResourcePoliciesScopedList

getParserForType()

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

getResourcePolicies(int index)

public ResourcePolicy getResourcePolicies(int index)

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourcePolicy

getResourcePoliciesCount()

public int getResourcePoliciesCount()

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Returns
TypeDescription
int

getResourcePoliciesList()

public List<ResourcePolicy> getResourcePoliciesList()

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Returns
TypeDescription
List<ResourcePolicy>

getResourcePoliciesOrBuilder(int index)

public ResourcePolicyOrBuilder getResourcePoliciesOrBuilder(int index)

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourcePolicyOrBuilder

getResourcePoliciesOrBuilderList()

public List<? extends ResourcePolicyOrBuilder> getResourcePoliciesOrBuilderList()

A list of resourcePolicies contained in this scope.

repeated .google.cloud.compute.v1.ResourcePolicy resource_policies = 22220385;

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

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 resourcePolicies 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 resourcePolicies 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 resourcePolicies 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 ResourcePoliciesScopedList.Builder newBuilderForType()
Returns
TypeDescription
ResourcePoliciesScopedList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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