Class RestrictAllowedResourcesResponse.Builder (2.51.0)

public static final class RestrictAllowedResourcesResponse.Builder extends GeneratedMessageV3.Builder<RestrictAllowedResourcesResponse.Builder> implements RestrictAllowedResourcesResponseOrBuilder

Response for restricting the list of allowed resources.

Protobuf type google.cloud.assuredworkloads.v1.RestrictAllowedResourcesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RestrictAllowedResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

build()

public RestrictAllowedResourcesResponse build()
Returns
Type Description
RestrictAllowedResourcesResponse

buildPartial()

public RestrictAllowedResourcesResponse buildPartial()
Returns
Type Description
RestrictAllowedResourcesResponse

clear()

public RestrictAllowedResourcesResponse.Builder clear()
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RestrictAllowedResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RestrictAllowedResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

clone()

public RestrictAllowedResourcesResponse.Builder clone()
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

getDefaultInstanceForType()

public RestrictAllowedResourcesResponse getDefaultInstanceForType()
Returns
Type Description
RestrictAllowedResourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RestrictAllowedResourcesResponse other)

public RestrictAllowedResourcesResponse.Builder mergeFrom(RestrictAllowedResourcesResponse other)
Parameter
Name Description
other RestrictAllowedResourcesResponse
Returns
Type Description
RestrictAllowedResourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RestrictAllowedResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RestrictAllowedResourcesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RestrictAllowedResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RestrictAllowedResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RestrictAllowedResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RestrictAllowedResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestrictAllowedResourcesResponse.Builder
Overrides