public static final class DeliverInfo.Builder extends GeneratedMessageV3.Builder<DeliverInfo.Builder> implements DeliverInfoOrBuilder
Details of the final state "deliver" and associated resource.
Protobuf type google.cloud.networkmanagement.v1beta1.DeliverInfo
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeliverInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DeliverInfo build()
Returns
buildPartial()
public DeliverInfo buildPartial()
Returns
clear()
public DeliverInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeliverInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DeliverInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResourceUri()
public DeliverInfo.Builder clearResourceUri()
URI of the resource that the packet is delivered to.
string resource_uri = 2;
Returns
clearTarget()
public DeliverInfo.Builder clearTarget()
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;
Returns
clone()
public DeliverInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DeliverInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResourceUri()
public String getResourceUri()
URI of the resource that the packet is delivered to.
string resource_uri = 2;
Returns
Type | Description |
String | The resourceUri.
|
getResourceUriBytes()
public ByteString getResourceUriBytes()
URI of the resource that the packet is delivered to.
string resource_uri = 2;
Returns
Type | Description |
ByteString | The bytes for resourceUri.
|
getTarget()
public DeliverInfo.Target getTarget()
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;
Returns
getTargetValue()
public int getTargetValue()
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for target.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DeliverInfo other)
public DeliverInfo.Builder mergeFrom(DeliverInfo other)
Parameter
Returns
public DeliverInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DeliverInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeliverInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeliverInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeliverInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResourceUri(String value)
public DeliverInfo.Builder setResourceUri(String value)
URI of the resource that the packet is delivered to.
string resource_uri = 2;
Parameter
Name | Description |
value | String
The resourceUri to set.
|
Returns
setResourceUriBytes(ByteString value)
public DeliverInfo.Builder setResourceUriBytes(ByteString value)
URI of the resource that the packet is delivered to.
string resource_uri = 2;
Parameter
Name | Description |
value | ByteString
The bytes for resourceUri to set.
|
Returns
setTarget(DeliverInfo.Target value)
public DeliverInfo.Builder setTarget(DeliverInfo.Target value)
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;
Parameter
Returns
setTargetValue(int value)
public DeliverInfo.Builder setTargetValue(int value)
Target type where the packet is delivered to.
.google.cloud.networkmanagement.v1beta1.DeliverInfo.Target target = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for target to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final DeliverInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides