Class GetStoredInfoTypeRequest.Builder (3.6.7)

public static final class GetStoredInfoTypeRequest.Builder extends GeneratedMessageV3.Builder<GetStoredInfoTypeRequest.Builder> implements GetStoredInfoTypeRequestOrBuilder

Request message for GetStoredInfoType.

Protobuf type google.privacy.dlp.v2.GetStoredInfoTypeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetStoredInfoTypeRequest build()
Returns
TypeDescription
GetStoredInfoTypeRequest

buildPartial()

public GetStoredInfoTypeRequest buildPartial()
Returns
TypeDescription
GetStoredInfoTypeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetStoredInfoTypeRequest.Builder clearName()

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
GetStoredInfoTypeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetStoredInfoTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
GetStoredInfoTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetStoredInfoTypeRequest other)

public GetStoredInfoTypeRequest.Builder mergeFrom(GetStoredInfoTypeRequest other)
Parameter
NameDescription
otherGetStoredInfoTypeRequest
Returns
TypeDescription
GetStoredInfoTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetStoredInfoTypeRequest.Builder setName(String value)

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetStoredInfoTypeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetStoredInfoTypeRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the organization and storedInfoType to be read, for example organizations/433245324/storedInfoTypes/432452342 or projects/project-id/storedInfoTypes/432452342.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetStoredInfoTypeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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