Class EntrySource.Ancestor.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntrySource.Ancestor build()
Returns
TypeDescription
EntrySource.Ancestor

buildPartial()

public EntrySource.Ancestor buildPartial()
Returns
TypeDescription
EntrySource.Ancestor

clear()

public EntrySource.Ancestor.Builder clear()
Returns
TypeDescription
EntrySource.Ancestor.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public EntrySource.Ancestor.Builder clone()
Returns
TypeDescription
EntrySource.Ancestor.Builder
Overrides

getDefaultInstanceForType()

public EntrySource.Ancestor getDefaultInstanceForType()
Returns
TypeDescription
EntrySource.Ancestor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Optional. The name of the ancestor resource.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. The name of the ancestor resource.

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

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

The type.

getTypeBytes()

public ByteString getTypeBytes()

Optional. The type of the ancestor resource.

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

Returns
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntrySource.Ancestor other)

public EntrySource.Ancestor.Builder mergeFrom(EntrySource.Ancestor other)
Parameter
NameDescription
otherEntrySource.Ancestor
Returns
TypeDescription
EntrySource.Ancestor.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EntrySource.Ancestor.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntrySource.Ancestor.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

The type to set.

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

The bytes for type to set.

Returns
TypeDescription
EntrySource.Ancestor.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final EntrySource.Ancestor.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EntrySource.Ancestor.Builder
Overrides