Class EduData.Builder (3.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EduData build()
Returns
TypeDescription
EduData

buildPartial()

public EduData buildPartial()
Returns
TypeDescription
EduData

clear()

public EduData.Builder clear()
Returns
TypeDescription
EduData.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public EduData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EduData.Builder
Overrides

clearInstituteSize()

public EduData.Builder clearInstituteSize()

Size of the institute.

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

Returns
TypeDescription
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
TypeDescription
EduData.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public EduData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EduData.Builder
Overrides

clearWebsite()

public EduData.Builder clearWebsite()

Web address for the edu customer's institution.

string website = 3;

Returns
TypeDescription
EduData.Builder

This builder for chaining.

clone()

public EduData.Builder clone()
Returns
TypeDescription
EduData.Builder
Overrides

getDefaultInstanceForType()

public EduData getDefaultInstanceForType()
Returns
TypeDescription
EduData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstituteSize()

public EduData.InstituteSize getInstituteSize()

Size of the institute.

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

Returns
TypeDescription
EduData.InstituteSize

The instituteSize.

getInstituteSizeValue()

public int getInstituteSizeValue()

Size of the institute.

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

Returns
TypeDescription
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
TypeDescription
EduData.InstituteType

The instituteType.

getInstituteTypeValue()

public int getInstituteTypeValue()

Designated institute type of customer.

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

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

The website.

getWebsiteBytes()

public ByteString getWebsiteBytes()

Web address for the edu customer's institution.

string website = 3;

Returns
TypeDescription
ByteString

The bytes for website.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EduData other)

public EduData.Builder mergeFrom(EduData other)
Parameter
NameDescription
otherEduData
Returns
TypeDescription
EduData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The instituteSize to set.

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

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

Returns
TypeDescription
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
NameDescription
valueEduData.InstituteType

The instituteType to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWebsite(String value)

public EduData.Builder setWebsite(String value)

Web address for the edu customer's institution.

string website = 3;

Parameter
NameDescription
valueString

The website to set.

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

The bytes for website to set.

Returns
TypeDescription
EduData.Builder

This builder for chaining.