Class NetworkEndpoint.Builder (2.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class NetworkEndpoint.Builder extends GeneratedMessageV3.Builder<NetworkEndpoint.Builder> implements NetworkEndpointOrBuilder
A network endpoint over which a TPU worker can be reached.
Protobuf type google.cloud.tpu.v2alpha1.NetworkEndpoint
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NetworkEndpoint build()
buildPartial()
public NetworkEndpoint buildPartial()
clear()
public NetworkEndpoint.Builder clear()
Overrides
clearAccessConfig()
public NetworkEndpoint.Builder clearAccessConfig()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
clearField(Descriptors.FieldDescriptor field)
public NetworkEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIpAddress()
public NetworkEndpoint.Builder clearIpAddress()
The internal IP address of this network endpoint.
string ip_address = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public NetworkEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPort()
public NetworkEndpoint.Builder clearPort()
The port of this network endpoint.
int32 port = 2;
clone()
public NetworkEndpoint.Builder clone()
Overrides
getAccessConfig()
public AccessConfig getAccessConfig()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
getAccessConfigBuilder()
public AccessConfig.Builder getAccessConfigBuilder()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
getAccessConfigOrBuilder()
public AccessConfigOrBuilder getAccessConfigOrBuilder()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
getDefaultInstanceForType()
public NetworkEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIpAddress()
public String getIpAddress()
The internal IP address of this network endpoint.
string ip_address = 1;
Returns |
---|
Type | Description |
String | The ipAddress.
|
getIpAddressBytes()
public ByteString getIpAddressBytes()
The internal IP address of this network endpoint.
string ip_address = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for ipAddress.
|
getPort()
The port of this network endpoint.
int32 port = 2;
Returns |
---|
Type | Description |
int | The port.
|
hasAccessConfig()
public boolean hasAccessConfig()
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
Returns |
---|
Type | Description |
boolean | Whether the accessConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAccessConfig(AccessConfig value)
public NetworkEndpoint.Builder mergeAccessConfig(AccessConfig value)
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
mergeFrom(NetworkEndpoint other)
public NetworkEndpoint.Builder mergeFrom(NetworkEndpoint other)
public NetworkEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NetworkEndpoint.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAccessConfig(AccessConfig value)
public NetworkEndpoint.Builder setAccessConfig(AccessConfig value)
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
setAccessConfig(AccessConfig.Builder builderForValue)
public NetworkEndpoint.Builder setAccessConfig(AccessConfig.Builder builderForValue)
The access config for the TPU worker.
.google.cloud.tpu.v2alpha1.AccessConfig access_config = 5;
setField(Descriptors.FieldDescriptor field, Object value)
public NetworkEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setIpAddress(String value)
public NetworkEndpoint.Builder setIpAddress(String value)
The internal IP address of this network endpoint.
string ip_address = 1;
Parameter |
---|
Name | Description |
value | String
The ipAddress to set.
|
setIpAddressBytes(ByteString value)
public NetworkEndpoint.Builder setIpAddressBytes(ByteString value)
The internal IP address of this network endpoint.
string ip_address = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for ipAddress to set.
|
setPort(int value)
public NetworkEndpoint.Builder setPort(int value)
The port of this network endpoint.
int32 port = 2;
Parameter |
---|
Name | Description |
value | int
The port to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NetworkEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NetworkEndpoint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-04 UTC."]]