Class RestrictAllowedServicesResponse (2.1.0)

public final class RestrictAllowedServicesResponse extends GeneratedMessageV3 implements RestrictAllowedServicesResponseOrBuilder

Response for restricting the list of allowed services.

Protobuf type google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesResponse

Inheritance

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

Static Methods

getDefaultInstance()

public static RestrictAllowedServicesResponse getDefaultInstance()
Returns
TypeDescription
RestrictAllowedServicesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(RestrictAllowedServicesResponse prototype)

public static RestrictAllowedServicesResponse.Builder newBuilder(RestrictAllowedServicesResponse prototype)
Parameter
NameDescription
prototypeRestrictAllowedServicesResponse
Returns
TypeDescription
RestrictAllowedServicesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RestrictAllowedServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
RestrictAllowedServicesResponse

getParserForType()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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