Class RegionDisksRemoveResourcePoliciesRequest (1.26.0)

public final class RegionDisksRemoveResourcePoliciesRequest extends GeneratedMessageV3 implements RegionDisksRemoveResourcePoliciesRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionDisksRemoveResourcePoliciesRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RegionDisksRemoveResourcePoliciesRequest

Static Fields

RESOURCE_POLICIES_FIELD_NUMBER

public static final int RESOURCE_POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RegionDisksRemoveResourcePoliciesRequest getDefaultInstance()
Returns
TypeDescription
RegionDisksRemoveResourcePoliciesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegionDisksRemoveResourcePoliciesRequest prototype)

public static RegionDisksRemoveResourcePoliciesRequest.Builder newBuilder(RegionDisksRemoveResourcePoliciesRequest prototype)
Parameter
NameDescription
prototypeRegionDisksRemoveResourcePoliciesRequest
Returns
TypeDescription
RegionDisksRemoveResourcePoliciesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RegionDisksRemoveResourcePoliciesRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionDisksRemoveResourcePoliciesRequest

getParserForType()

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

getResourcePolicies(int index)

public String getResourcePolicies(int index)

Resource policies to be removed from this disk.

repeated string resource_policies = 22220385;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourcePolicies at the given index.

getResourcePoliciesBytes(int index)

public ByteString getResourcePoliciesBytes(int index)

Resource policies to be removed from this disk.

repeated string resource_policies = 22220385;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourcePolicies at the given index.

getResourcePoliciesCount()

public int getResourcePoliciesCount()

Resource policies to be removed from this disk.

repeated string resource_policies = 22220385;

Returns
TypeDescription
int

The count of resourcePolicies.

getResourcePoliciesList()

public ProtocolStringList getResourcePoliciesList()

Resource policies to be removed from this disk.

repeated string resource_policies = 22220385;

Returns
TypeDescription
ProtocolStringList

A list containing the resourcePolicies.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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