Class EntrySource.Ancestor.Builder (1.46.0)

public static final class EntrySource.Ancestor.Builder extends GeneratedMessageV3.Builder<EntrySource.Ancestor.Builder> implements EntrySource.AncestorOrBuilder

Ancestor contains information about individual items in the hierarchy of an Entry.

Protobuf type google.cloud.dataplex.v1.EntrySource.Ancestor

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntrySource.Ancestor build()
Returns
Type Description
EntrySource.Ancestor

buildPartial()

public EntrySource.Ancestor buildPartial()
Returns
Type Description
EntrySource.Ancestor

clear()

public EntrySource.Ancestor.Builder clear()
Returns
Type Description
EntrySource.Ancestor.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public EntrySource.Ancestor.Builder clearName()

Optional. The name of the ancestor resource.

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

Returns
Type Description
EntrySource.Ancestor.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public EntrySource.Ancestor.Builder clearType()

Optional. The type of the ancestor resource.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EntrySource.Ancestor.Builder

This builder for chaining.

clone()

public EntrySource.Ancestor.Builder clone()
Returns
Type Description
EntrySource.Ancestor.Builder
Overrides

getDefaultInstanceForType()

public EntrySource.Ancestor getDefaultInstanceForType()
Returns
Type Description
EntrySource.Ancestor

getDescriptorForType()

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

getName()

public String getName()

Optional. The name of the ancestor resource.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The name of the ancestor resource.

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

Returns
Type Description
ByteString

The bytes for name.

getType()

public String getType()

Optional. The type of the ancestor resource.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Optional. The type of the ancestor resource.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntrySource.Ancestor other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public EntrySource.Ancestor.Builder setName(String value)

Optional. The name of the ancestor resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
EntrySource.Ancestor.Builder

This builder for chaining.

setNameBytes(ByteString value)

public EntrySource.Ancestor.Builder setNameBytes(ByteString value)

Optional. The name of the ancestor resource.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
EntrySource.Ancestor.Builder

This builder for chaining.

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

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

setType(String value)

public EntrySource.Ancestor.Builder setType(String value)

Optional. The type of the ancestor resource.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The type to set.

Returns
Type Description
EntrySource.Ancestor.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public EntrySource.Ancestor.Builder setTypeBytes(ByteString value)

Optional. The type of the ancestor resource.

string type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
EntrySource.Ancestor.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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