public static final class RoutersPreviewResponse.Builder extends GeneratedMessageV3.Builder<RoutersPreviewResponse.Builder> implements RoutersPreviewResponseOrBuilder
Protobuf type google.cloud.compute.v1.RoutersPreviewResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RoutersPreviewResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RoutersPreviewResponse build()
Returns
buildPartial()
public RoutersPreviewResponse buildPartial()
Returns
clear()
public RoutersPreviewResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RoutersPreviewResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RoutersPreviewResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResource()
public RoutersPreviewResponse.Builder clearResource()
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Returns
clone()
public RoutersPreviewResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RoutersPreviewResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResource()
public Router getResource()
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Returns
Type | Description |
Router | The resource.
|
getResourceBuilder()
public Router.Builder getResourceBuilder()
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Returns
getResourceOrBuilder()
public RouterOrBuilder getResourceOrBuilder()
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Returns
hasResource()
public boolean hasResource()
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Returns
Type | Description |
boolean | Whether the resource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RoutersPreviewResponse other)
public RoutersPreviewResponse.Builder mergeFrom(RoutersPreviewResponse other)
Parameter
Returns
public RoutersPreviewResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RoutersPreviewResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeResource(Router value)
public RoutersPreviewResponse.Builder mergeResource(Router value)
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RoutersPreviewResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RoutersPreviewResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RoutersPreviewResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setResource(Router value)
public RoutersPreviewResponse.Builder setResource(Router value)
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Parameter
Returns
setResource(Router.Builder builderForValue)
public RoutersPreviewResponse.Builder setResource(Router.Builder builderForValue)
Preview of given router.
optional .google.cloud.compute.v1.Router resource = 195806222;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RoutersPreviewResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides