Class LookupEntryRequest.Builder (1.42.0)

public static final class LookupEntryRequest.Builder extends GeneratedMessageV3.Builder<LookupEntryRequest.Builder> implements LookupEntryRequestOrBuilder

Protobuf type google.cloud.dataplex.v1.LookupEntryRequest

Static Methods

getDescriptor()

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

Methods

addAllAspectTypes(Iterable<String> values)

public LookupEntryRequest.Builder addAllAspectTypes(Iterable<String> values)

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The aspectTypes to add.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

addAllPaths(Iterable<String> values)

public LookupEntryRequest.Builder addAllPaths(Iterable<String> values)

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The paths to add.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

addAspectTypes(String value)

public LookupEntryRequest.Builder addAspectTypes(String value)

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The aspectTypes to add.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

addAspectTypesBytes(ByteString value)

public LookupEntryRequest.Builder addAspectTypesBytes(ByteString value)

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the aspectTypes to add.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

addPaths(String value)

public LookupEntryRequest.Builder addPaths(String value)

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The paths to add.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

addPathsBytes(ByteString value)

public LookupEntryRequest.Builder addPathsBytes(ByteString value)

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the paths to add.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupEntryRequest build()
Returns
Type Description
LookupEntryRequest

buildPartial()

public LookupEntryRequest buildPartial()
Returns
Type Description
LookupEntryRequest

clear()

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

clearAspectTypes()

public LookupEntryRequest.Builder clearAspectTypes()

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clearEntry()

public LookupEntryRequest.Builder clearEntry()

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string entry = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public LookupEntryRequest.Builder clearName()

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPaths()

public LookupEntryRequest.Builder clearPaths()

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clearView()

public LookupEntryRequest.Builder clearView()

Optional. View for controlling which parts of an entry are to be returned.

.google.cloud.dataplex.v1.EntryView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

clone()

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

getAspectTypes(int index)

public String getAspectTypes(int index)

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The aspectTypes at the given index.

getAspectTypesBytes(int index)

public ByteString getAspectTypesBytes(int index)

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the aspectTypes at the given index.

getAspectTypesCount()

public int getAspectTypesCount()

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of aspectTypes.

getAspectTypesList()

public ProtocolStringList getAspectTypesList()

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the aspectTypes.

getDefaultInstanceForType()

public LookupEntryRequest getDefaultInstanceForType()
Returns
Type Description
LookupEntryRequest

getDescriptorForType()

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

getEntry()

public String getEntry()

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string entry = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The entry.

getEntryBytes()

public ByteString getEntryBytes()

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string entry = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for entry.

getName()

public String getName()

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getPaths(int index)

public String getPaths(int index)

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The paths at the given index.

getPathsBytes(int index)

public ByteString getPathsBytes(int index)

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the paths at the given index.

getPathsCount()

public int getPathsCount()

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of paths.

getPathsList()

public ProtocolStringList getPathsList()

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the paths.

getView()

public EntryView getView()

Optional. View for controlling which parts of an entry are to be returned.

.google.cloud.dataplex.v1.EntryView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntryView

The view.

getViewValue()

public int getViewValue()

Optional. View for controlling which parts of an entry are to be returned.

.google.cloud.dataplex.v1.EntryView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupEntryRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAspectTypes(int index, String value)

public LookupEntryRequest.Builder setAspectTypes(int index, String value)

Optional. Limits the aspects returned to the provided aspect types. Only works if the CUSTOM view is selected.

repeated string aspect_types = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The aspectTypes to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setEntry(String value)

public LookupEntryRequest.Builder setEntry(String value)

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string entry = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The entry to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setEntryBytes(ByteString value)

public LookupEntryRequest.Builder setEntryBytes(ByteString value)

Required. The resource name of the Entry: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}.

string entry = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for entry to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public LookupEntryRequest.Builder setName(String value)

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LookupEntryRequest.Builder setNameBytes(ByteString value)

Required. The project to which the request should be attributed in the following form: projects/{project}/locations/{location}.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setPaths(int index, String value)

public LookupEntryRequest.Builder setPaths(int index, String value)

Optional. Limits the aspects returned to those associated with the provided paths within the Entry. Only works if the CUSTOM view is selected.

repeated string paths = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The paths to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(EntryView value)

public LookupEntryRequest.Builder setView(EntryView value)

Optional. View for controlling which parts of an entry are to be returned.

.google.cloud.dataplex.v1.EntryView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EntryView

The view to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.

setViewValue(int value)

public LookupEntryRequest.Builder setViewValue(int value)

Optional. View for controlling which parts of an entry are to be returned.

.google.cloud.dataplex.v1.EntryView view = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
LookupEntryRequest.Builder

This builder for chaining.