public static final class HostsEntryList.Builder extends GeneratedMessageV3.Builder<HostsEntryList.Builder> implements HostsEntryListOrBuilder
Hosts content.
Protobuf type google.cloud.migrationcenter.v1.HostsEntryList
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllEntries(Iterable<? extends HostsEntry> values)
public HostsEntryList.Builder addAllEntries(Iterable<? extends HostsEntry> values)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.migrationcenter.v1.HostsEntry>
|
addEntries(HostsEntry value)
public HostsEntryList.Builder addEntries(HostsEntry value)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
addEntries(HostsEntry.Builder builderForValue)
public HostsEntryList.Builder addEntries(HostsEntry.Builder builderForValue)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
addEntries(int index, HostsEntry value)
public HostsEntryList.Builder addEntries(int index, HostsEntry value)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
addEntries(int index, HostsEntry.Builder builderForValue)
public HostsEntryList.Builder addEntries(int index, HostsEntry.Builder builderForValue)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
addEntriesBuilder()
public HostsEntry.Builder addEntriesBuilder()
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
addEntriesBuilder(int index)
public HostsEntry.Builder addEntriesBuilder(int index)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HostsEntryList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public HostsEntryList build()
buildPartial()
public HostsEntryList buildPartial()
clear()
public HostsEntryList.Builder clear()
Overrides
clearEntries()
public HostsEntryList.Builder clearEntries()
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
clearField(Descriptors.FieldDescriptor field)
public HostsEntryList.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HostsEntryList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public HostsEntryList.Builder clone()
Overrides
getDefaultInstanceForType()
public HostsEntryList getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEntries(int index)
public HostsEntry getEntries(int index)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Parameter |
Name |
Description |
index |
int
|
getEntriesBuilder(int index)
public HostsEntry.Builder getEntriesBuilder(int index)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Parameter |
Name |
Description |
index |
int
|
getEntriesBuilderList()
public List<HostsEntry.Builder> getEntriesBuilderList()
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
getEntriesCount()
public int getEntriesCount()
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Returns |
Type |
Description |
int |
|
getEntriesList()
public List<HostsEntry> getEntriesList()
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
getEntriesOrBuilder(int index)
public HostsEntryOrBuilder getEntriesOrBuilder(int index)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Parameter |
Name |
Description |
index |
int
|
getEntriesOrBuilderList()
public List<? extends HostsEntryOrBuilder> getEntriesOrBuilderList()
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.HostsEntryOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(HostsEntryList other)
public HostsEntryList.Builder mergeFrom(HostsEntryList other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HostsEntryList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public HostsEntryList.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HostsEntryList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeEntries(int index)
public HostsEntryList.Builder removeEntries(int index)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
Parameter |
Name |
Description |
index |
int
|
setEntries(int index, HostsEntry value)
public HostsEntryList.Builder setEntries(int index, HostsEntry value)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
setEntries(int index, HostsEntry.Builder builderForValue)
public HostsEntryList.Builder setEntries(int index, HostsEntry.Builder builderForValue)
Hosts entries.
repeated .google.cloud.migrationcenter.v1.HostsEntry entries = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public HostsEntryList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HostsEntryList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final HostsEntryList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides