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

The aspectTypes to add.

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

The paths to add.

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

The aspectTypes to add.

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

The bytes of the aspectTypes to add.

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

The paths to add.

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

The bytes of the paths to add.

Returns
TypeDescription
GetEntryRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetEntryRequest build()
Returns
TypeDescription
GetEntryRequest

buildPartial()

public GetEntryRequest buildPartial()
Returns
TypeDescription
GetEntryRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDescriptorForType()

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

public GetEntryRequest.Builder mergeFrom(GetEntryRequest other)
Parameter
NameDescription
otherGetEntryRequest
Returns
TypeDescription
GetEntryRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The index to set the value at.

valueString

The aspectTypes to set.

Returns
TypeDescription
GetEntryRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The index to set the value at.

valueString

The paths to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The view to set.

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

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

Returns
TypeDescription
GetEntryRequest.Builder

This builder for chaining.