Package com.google.cloud.dataplex.v1
Class LookupEntryLinksRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
com.google.cloud.dataplex.v1.LookupEntryLinksRequest.Builder
- All Implemented Interfaces:
LookupEntryLinksRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LookupEntryLinksRequest
public static final class LookupEntryLinksRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
implements LookupEntryLinksRequestOrBuilder
Request message for LookupEntryLinks.Protobuf type
google.cloud.dataplex.v1.LookupEntryLinksRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntryLinkTypes(Iterable<String> values) Entry link types to filter the response by.addEntryLinkTypes(String value) Entry link types to filter the response by.addEntryLinkTypesBytes(com.google.protobuf.ByteString value) Entry link types to filter the response by.build()clear()Required.Entry link types to filter the response by.Mode of entry reference.Required.Maximum number of EntryLinks to return.Page token received from a previous `LookupEntryLinks` call.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntry()Required.com.google.protobuf.ByteStringRequired.getEntryLinkTypes(int index) Entry link types to filter the response by.com.google.protobuf.ByteStringgetEntryLinkTypesBytes(int index) Entry link types to filter the response by.intEntry link types to filter the response by.com.google.protobuf.ProtocolStringListEntry link types to filter the response by.Mode of entry reference.intMode of entry reference.getName()Required.com.google.protobuf.ByteStringRequired.intMaximum number of EntryLinks to return.Page token received from a previous `LookupEntryLinks` call.com.google.protobuf.ByteStringPage token received from a previous `LookupEntryLinks` call.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(LookupEntryLinksRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setEntryBytes(com.google.protobuf.ByteString value) Required.setEntryLinkTypes(int index, String value) Entry link types to filter the response by.Mode of entry reference.setEntryModeValue(int value) Mode of entry reference.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setPageSize(int value) Maximum number of EntryLinks to return.setPageToken(String value) Page token received from a previous `LookupEntryLinks` call.setPageTokenBytes(com.google.protobuf.ByteString value) Page token received from a previous `LookupEntryLinks` call.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LookupEntryLinksRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LookupEntryLinksRequest.Builder>
-
mergeFrom
public LookupEntryLinksRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LookupEntryLinksRequest.Builder>- Throws:
IOException
-
getName
Required. The project to which the request should be attributed to Format: `projects/{project_id_or_number}/locations/{location_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The project to which the request should be attributed to Format: `projects/{project_id_or_number}/locations/{location_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The project to which the request should be attributed to Format: `projects/{project_id_or_number}/locations/{location_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The project to which the request should be attributed to Format: `projects/{project_id_or_number}/locations/{location_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. The project to which the request should be attributed to Format: `projects/{project_id_or_number}/locations/{location_id}`.string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getEntry
Required. The resource name of the referred Entry. Format: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`. Entry Links which references this entry will be returned in the response.string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getEntryin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The entry.
-
getEntryBytes
public com.google.protobuf.ByteString getEntryBytes()Required. The resource name of the referred Entry. Format: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`. Entry Links which references this entry will be returned in the response.string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getEntryBytesin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The bytes for entry.
-
setEntry
Required. The resource name of the referred Entry. Format: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`. Entry Links which references this entry will be returned in the response.string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The entry to set.- Returns:
- This builder for chaining.
-
clearEntry
Required. The resource name of the referred Entry. Format: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`. Entry Links which references this entry will be returned in the response.string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setEntryBytes
Required. The resource name of the referred Entry. Format: `projects/{project_id_or_number}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}`. Entry Links which references this entry will be returned in the response.string entry = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for entry to set.- Returns:
- This builder for chaining.
-
getEntryModeValue
public int getEntryModeValue()Mode of entry reference.
.google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;- Specified by:
getEntryModeValuein interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The enum numeric value on the wire for entryMode.
-
setEntryModeValue
Mode of entry reference.
.google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;- Parameters:
value- The enum numeric value on the wire for entryMode to set.- Returns:
- This builder for chaining.
-
getEntryMode
Mode of entry reference.
.google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;- Specified by:
getEntryModein interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The entryMode.
-
setEntryMode
Mode of entry reference.
.google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;- Parameters:
value- The entryMode to set.- Returns:
- This builder for chaining.
-
clearEntryMode
Mode of entry reference.
.google.cloud.dataplex.v1.LookupEntryLinksRequest.EntryMode entry_mode = 3;- Returns:
- This builder for chaining.
-
getEntryLinkTypesList
public com.google.protobuf.ProtocolStringList getEntryLinkTypesList()Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Specified by:
getEntryLinkTypesListin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- A list containing the entryLinkTypes.
-
getEntryLinkTypesCount
public int getEntryLinkTypesCount()Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Specified by:
getEntryLinkTypesCountin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The count of entryLinkTypes.
-
getEntryLinkTypes
Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Specified by:
getEntryLinkTypesin interfaceLookupEntryLinksRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The entryLinkTypes at the given index.
-
getEntryLinkTypesBytes
public com.google.protobuf.ByteString getEntryLinkTypesBytes(int index) Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Specified by:
getEntryLinkTypesBytesin interfaceLookupEntryLinksRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entryLinkTypes at the given index.
-
setEntryLinkTypes
Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Parameters:
index- The index to set the value at.value- The entryLinkTypes to set.- Returns:
- This builder for chaining.
-
addEntryLinkTypes
Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Parameters:
value- The entryLinkTypes to add.- Returns:
- This builder for chaining.
-
addAllEntryLinkTypes
Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Parameters:
values- The entryLinkTypes to add.- Returns:
- This builder for chaining.
-
clearEntryLinkTypes
Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Returns:
- This builder for chaining.
-
addEntryLinkTypesBytes
Entry link types to filter the response by. If empty, all entry link types will be returned. At most 10 entry link types can be specified.
repeated string entry_link_types = 4;- Parameters:
value- The bytes of the entryLinkTypes to add.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()Maximum number of EntryLinks to return. The service may return fewer than this value. If unspecified, at most 10 EntryLinks will be returned. The maximum value is 10; values above 10 will be coerced to 10.
int32 page_size = 5;- Specified by:
getPageSizein interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
Maximum number of EntryLinks to return. The service may return fewer than this value. If unspecified, at most 10 EntryLinks will be returned. The maximum value is 10; values above 10 will be coerced to 10.
int32 page_size = 5;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
Maximum number of EntryLinks to return. The service may return fewer than this value. If unspecified, at most 10 EntryLinks will be returned. The maximum value is 10; values above 10 will be coerced to 10.
int32 page_size = 5;- Returns:
- This builder for chaining.
-
getPageToken
Page token received from a previous `LookupEntryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters that are provided to the `LookupEntryLinks` request must match the call that provided the page token.
string page_token = 6;- Specified by:
getPageTokenin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Page token received from a previous `LookupEntryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters that are provided to the `LookupEntryLinks` request must match the call that provided the page token.
string page_token = 6;- Specified by:
getPageTokenBytesin interfaceLookupEntryLinksRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Page token received from a previous `LookupEntryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters that are provided to the `LookupEntryLinks` request must match the call that provided the page token.
string page_token = 6;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Page token received from a previous `LookupEntryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters that are provided to the `LookupEntryLinks` request must match the call that provided the page token.
string page_token = 6;- Returns:
- This builder for chaining.
-
setPageTokenBytes
Page token received from a previous `LookupEntryLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters that are provided to the `LookupEntryLinks` request must match the call that provided the page token.
string page_token = 6;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-