public static final class BackendServiceHAPolicyLeaderNetworkEndpoint.Builder extends GeneratedMessageV3.Builder<BackendServiceHAPolicyLeaderNetworkEndpoint.Builder> implements BackendServiceHAPolicyLeaderNetworkEndpointOrBuilder
Protobuf type google.cloud.compute.v1.BackendServiceHAPolicyLeaderNetworkEndpoint
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 BackendServiceHAPolicyLeaderNetworkEndpoint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BackendServiceHAPolicyLeaderNetworkEndpoint build()
buildPartial()
public BackendServiceHAPolicyLeaderNetworkEndpoint buildPartial()
clear()
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstance()
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder clearInstance()
The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use
optional string instance = 18257045;
clearOneof(Descriptors.OneofDescriptor oneof)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder clone()
Overrides
getDefaultInstanceForType()
public BackendServiceHAPolicyLeaderNetworkEndpoint getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstance()
public String getInstance()
The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use
optional string instance = 18257045;
| Returns |
| Type |
Description |
String |
The instance.
|
getInstanceBytes()
public ByteString getInstanceBytes()
The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use
optional string instance = 18257045;
| Returns |
| Type |
Description |
ByteString |
The bytes for instance.
|
hasInstance()
public boolean hasInstance()
The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use
optional string instance = 18257045;
| Returns |
| Type |
Description |
boolean |
Whether the instance field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BackendServiceHAPolicyLeaderNetworkEndpoint other)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder mergeFrom(BackendServiceHAPolicyLeaderNetworkEndpoint other)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BackendServiceHAPolicyLeaderNetworkEndpoint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInstance(String value)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder setInstance(String value)
The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use
optional string instance = 18257045;
| Parameter |
| Name |
Description |
value |
String
The instance to set.
|
setInstanceBytes(ByteString value)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder setInstanceBytes(ByteString value)
The name of the VM instance of the leader network endpoint. The instance must already be attached to the NEG specified in the haPolicy.leader.backendGroup. The name must be 1-63 characters long, and comply with RFC1035. Authorization requires the following IAM permission on the specified resource instance: compute.instances.use
optional string instance = 18257045;
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for instance to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BackendServiceHAPolicyLeaderNetworkEndpoint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)