Class EduData.Builder (3.55.0)

public static final class EduData.Builder extends GeneratedMessageV3.Builder<EduData.Builder> implements EduDataOrBuilder

Required Edu Attributes

Protobuf type google.cloud.channel.v1.EduData

Implements

EduDataOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EduData build()
Returns
Type Description
EduData

buildPartial()

public EduData buildPartial()
Returns
Type Description
EduData

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstituteSize()

public EduData.Builder clearInstituteSize()

Size of the institute.

.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;

Returns
Type Description
EduData.Builder

This builder for chaining.

clearInstituteType()

public EduData.Builder clearInstituteType()

Designated institute type of customer.

.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;

Returns
Type Description
EduData.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWebsite()

public EduData.Builder clearWebsite()

Web address for the edu customer's institution.

string website = 3;

Returns
Type Description
EduData.Builder

This builder for chaining.

clone()

public EduData.Builder clone()
Returns
Type Description
EduData.Builder
Overrides

getDefaultInstanceForType()

public EduData getDefaultInstanceForType()
Returns
Type Description
EduData

getDescriptorForType()

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

getInstituteSize()

public EduData.InstituteSize getInstituteSize()

Size of the institute.

.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;

Returns
Type Description
EduData.InstituteSize

The instituteSize.

getInstituteSizeValue()

public int getInstituteSizeValue()

Size of the institute.

.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;

Returns
Type Description
int

The enum numeric value on the wire for instituteSize.

getInstituteType()

public EduData.InstituteType getInstituteType()

Designated institute type of customer.

.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;

Returns
Type Description
EduData.InstituteType

The instituteType.

getInstituteTypeValue()

public int getInstituteTypeValue()

Designated institute type of customer.

.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for instituteType.

getWebsite()

public String getWebsite()

Web address for the edu customer's institution.

string website = 3;

Returns
Type Description
String

The website.

getWebsiteBytes()

public ByteString getWebsiteBytes()

Web address for the edu customer's institution.

string website = 3;

Returns
Type Description
ByteString

The bytes for website.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EduData other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstituteSize(EduData.InstituteSize value)

public EduData.Builder setInstituteSize(EduData.InstituteSize value)

Size of the institute.

.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;

Parameter
Name Description
value EduData.InstituteSize

The instituteSize to set.

Returns
Type Description
EduData.Builder

This builder for chaining.

setInstituteSizeValue(int value)

public EduData.Builder setInstituteSizeValue(int value)

Size of the institute.

.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;

Parameter
Name Description
value int

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

Returns
Type Description
EduData.Builder

This builder for chaining.

setInstituteType(EduData.InstituteType value)

public EduData.Builder setInstituteType(EduData.InstituteType value)

Designated institute type of customer.

.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;

Parameter
Name Description
value EduData.InstituteType

The instituteType to set.

Returns
Type Description
EduData.Builder

This builder for chaining.

setInstituteTypeValue(int value)

public EduData.Builder setInstituteTypeValue(int value)

Designated institute type of customer.

.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;

Parameter
Name Description
value int

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

Returns
Type Description
EduData.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWebsite(String value)

public EduData.Builder setWebsite(String value)

Web address for the edu customer's institution.

string website = 3;

Parameter
Name Description
value String

The website to set.

Returns
Type Description
EduData.Builder

This builder for chaining.

setWebsiteBytes(ByteString value)

public EduData.Builder setWebsiteBytes(ByteString value)

Web address for the edu customer's institution.

string website = 3;

Parameter
Name Description
value ByteString

The bytes for website to set.

Returns
Type Description
EduData.Builder

This builder for chaining.