Class RestrictAllowedServicesResponse.Builder (2.1.0)

public static final class RestrictAllowedServicesResponse.Builder extends GeneratedMessageV3.Builder<RestrictAllowedServicesResponse.Builder> implements RestrictAllowedServicesResponseOrBuilder

Response for restricting the list of allowed services.

Protobuf type google.cloud.assuredworkloads.v1beta1.RestrictAllowedServicesResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestrictAllowedServicesResponse build()
Returns
TypeDescription
RestrictAllowedServicesResponse

buildPartial()

public RestrictAllowedServicesResponse buildPartial()
Returns
TypeDescription
RestrictAllowedServicesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RestrictAllowedServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
RestrictAllowedServicesResponse

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(RestrictAllowedServicesResponse other)

public RestrictAllowedServicesResponse.Builder mergeFrom(RestrictAllowedServicesResponse other)
Parameter
NameDescription
otherRestrictAllowedServicesResponse
Returns
TypeDescription
RestrictAllowedServicesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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