Class LookupEntryRequest.Builder (1.38.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
TypeDescription
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
NameDescription
valuesIterable<String>

The aspectTypes to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The paths to add.

Returns
TypeDescription
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
NameDescription
valueString

The aspectTypes to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the aspectTypes to add.

Returns
TypeDescription
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
NameDescription
valueString

The paths to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the paths to add.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupEntryRequest build()
Returns
TypeDescription
LookupEntryRequest

buildPartial()

public LookupEntryRequest buildPartial()
Returns
TypeDescription
LookupEntryRequest

clear()

public LookupEntryRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LookupEntryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupEntryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

clone()

public LookupEntryRequest.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the aspectTypes.

getDefaultInstanceForType()

public LookupEntryRequest getDefaultInstanceForType()
Returns
TypeDescription
LookupEntryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupEntryRequest other)

public LookupEntryRequest.Builder mergeFrom(LookupEntryRequest other)
Parameter
NameDescription
otherLookupEntryRequest
Returns
TypeDescription
LookupEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupEntryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The aspectTypes to set.

Returns
TypeDescription
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
NameDescription
valueString

The entry to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for entry to set.

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LookupEntryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The paths to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LookupEntryRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupEntryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEntryView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
LookupEntryRequest.Builder

This builder for chaining.