Class RestrictAllowedResourcesResponse (2.22.0)

public final class RestrictAllowedResourcesResponse extends GeneratedMessageV3 implements RestrictAllowedResourcesResponseOrBuilder

Response for restricting the list of allowed resources.

Protobuf type google.cloud.assuredworkloads.v1.RestrictAllowedResourcesResponse

Inheritance

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

Static Methods

getDefaultInstance()

public static RestrictAllowedResourcesResponse getDefaultInstance()
Returns
TypeDescription
RestrictAllowedResourcesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(RestrictAllowedResourcesResponse prototype)

public static RestrictAllowedResourcesResponse.Builder newBuilder(RestrictAllowedResourcesResponse prototype)
Parameter
NameDescription
prototypeRestrictAllowedResourcesResponse
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RestrictAllowedResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
RestrictAllowedResourcesResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 RestrictAllowedResourcesResponse.Builder newBuilderForType()
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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