Class RestrictAllowedResourcesResponse.Builder (2.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RestrictAllowedResourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

build()

public RestrictAllowedResourcesResponse build()
Returns
TypeDescription
RestrictAllowedResourcesResponse

buildPartial()

public RestrictAllowedResourcesResponse buildPartial()
Returns
TypeDescription
RestrictAllowedResourcesResponse

clear()

public RestrictAllowedResourcesResponse.Builder clear()
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RestrictAllowedResourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RestrictAllowedResourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

clone()

public RestrictAllowedResourcesResponse.Builder clone()
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

getDefaultInstanceForType()

public RestrictAllowedResourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
RestrictAllowedResourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RestrictAllowedResourcesResponse other)

public RestrictAllowedResourcesResponse.Builder mergeFrom(RestrictAllowedResourcesResponse other)
Parameter
NameDescription
otherRestrictAllowedResourcesResponse
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RestrictAllowedResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RestrictAllowedResourcesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RestrictAllowedResourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RestrictAllowedResourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

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

public RestrictAllowedResourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RestrictAllowedResourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RestrictAllowedResourcesResponse.Builder
Overrides