public static final class GoogleServiceInfo.Builder extends GeneratedMessageV3.Builder<GoogleServiceInfo.Builder> implements GoogleServiceInfoOrBuilder
For display only. Details of a Google Service sending packets to a
VPC network. Although the source IP might be a publicly routable address,
some Google Services use special routes within Google production
infrastructure to reach Compute Engine Instances.
https://cloud.google.com/vpc/docs/routes#special_return_paths
Protobuf type google.cloud.networkmanagement.v1.GoogleServiceInfo
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 GoogleServiceInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GoogleServiceInfo build()
buildPartial()
public GoogleServiceInfo buildPartial()
clear()
public GoogleServiceInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GoogleServiceInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGoogleServiceType()
public GoogleServiceInfo.Builder clearGoogleServiceType()
Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public GoogleServiceInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSourceIp()
public GoogleServiceInfo.Builder clearSourceIp()
Source IP address.
string source_ip = 1;
clone()
public GoogleServiceInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public GoogleServiceInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGoogleServiceType()
public GoogleServiceInfo.GoogleServiceType getGoogleServiceType()
Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
getGoogleServiceTypeValue()
public int getGoogleServiceTypeValue()
Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for googleServiceType.
|
getSourceIp()
public String getSourceIp()
Source IP address.
string source_ip = 1;
Returns |
Type |
Description |
String |
The sourceIp.
|
getSourceIpBytes()
public ByteString getSourceIpBytes()
Source IP address.
string source_ip = 1;
Returns |
Type |
Description |
ByteString |
The bytes for sourceIp.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GoogleServiceInfo other)
public GoogleServiceInfo.Builder mergeFrom(GoogleServiceInfo other)
public GoogleServiceInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GoogleServiceInfo.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GoogleServiceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GoogleServiceInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGoogleServiceType(GoogleServiceInfo.GoogleServiceType value)
public GoogleServiceInfo.Builder setGoogleServiceType(GoogleServiceInfo.GoogleServiceType value)
Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
setGoogleServiceTypeValue(int value)
public GoogleServiceInfo.Builder setGoogleServiceTypeValue(int value)
Recognized type of a Google Service.
.google.cloud.networkmanagement.v1.GoogleServiceInfo.GoogleServiceType google_service_type = 2;
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for googleServiceType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GoogleServiceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSourceIp(String value)
public GoogleServiceInfo.Builder setSourceIp(String value)
Source IP address.
string source_ip = 1;
Parameter |
Name |
Description |
value |
String
The sourceIp to set.
|
setSourceIpBytes(ByteString value)
public GoogleServiceInfo.Builder setSourceIpBytes(ByteString value)
Source IP address.
string source_ip = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for sourceIp to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final GoogleServiceInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides