Class GetEntryRequest.Builder (1.45.0)

public static final class GetEntryRequest.Builder extends GeneratedMessageV3.Builder<GetEntryRequest.Builder> implements GetEntryRequestOrBuilder

Protobuf type google.cloud.dataplex.v1.GetEntryRequest

Static Methods

getDescriptor()

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

Methods

addAllAspectTypes(Iterable<String> values)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

addAllPaths(Iterable<String> values)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

addAspectTypes(String value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

addAspectTypesBytes(ByteString value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

addPaths(String value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

addPathsBytes(ByteString value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetEntryRequest build()
Returns
Type Description
GetEntryRequest

buildPartial()

public GetEntryRequest buildPartial()
Returns
Type Description
GetEntryRequest

clear()

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

clearAspectTypes()

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetEntryRequest.Builder clearName()

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

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

Returns
Type Description
GetEntryRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPaths()

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

clearView()

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

clone()

public GetEntryRequest.Builder clone()
Returns
Type Description
GetEntryRequest.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 GetEntryRequest getDefaultInstanceForType()
Returns
Type Description
GetEntryRequest

getDescriptorForType()

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

getName()

public String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAspectTypes(int index, String value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetEntryRequest.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetEntryRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetEntryRequest.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetEntryRequest.Builder

This builder for chaining.

setPaths(int index, String value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(EntryView value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.

setViewValue(int value)

public GetEntryRequest.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
GetEntryRequest.Builder

This builder for chaining.