public static final class CreateVpcFlowLogsConfigRequest.Builder extends GeneratedMessage.Builder<CreateVpcFlowLogsConfigRequest.Builder> implements CreateVpcFlowLogsConfigRequestOrBuilder Request for the CreateVpcFlowLogsConfig method.
Protobuf type google.cloud.networkmanagement.v1beta1.CreateVpcFlowLogsConfigRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateVpcFlowLogsConfigRequest.BuilderImplements
CreateVpcFlowLogsConfigRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateVpcFlowLogsConfigRequest build()| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest |
|
buildPartial()
public CreateVpcFlowLogsConfigRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest |
|
clear()
public CreateVpcFlowLogsConfigRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
clearParent()
public CreateVpcFlowLogsConfigRequest.Builder clearParent()Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats:
For project-level resources:
projects/{project_id}/locations/globalFor organization-level resources:
organizations/{organization_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
This builder for chaining. |
clearVpcFlowLogsConfig()
public CreateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfig() Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
clearVpcFlowLogsConfigId()
public CreateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfigId() Required. ID of the VpcFlowLogsConfig.
string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateVpcFlowLogsConfigRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats:
For project-level resources:
projects/{project_id}/locations/globalFor organization-level resources:
organizations/{organization_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats:
For project-level resources:
projects/{project_id}/locations/globalFor organization-level resources:
organizations/{organization_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getVpcFlowLogsConfig()
public VpcFlowLogsConfig getVpcFlowLogsConfig() Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VpcFlowLogsConfig |
The vpcFlowLogsConfig. |
getVpcFlowLogsConfigBuilder()
public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigBuilder() Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VpcFlowLogsConfig.Builder |
|
getVpcFlowLogsConfigId()
public String getVpcFlowLogsConfigId() Required. ID of the VpcFlowLogsConfig.
string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The vpcFlowLogsConfigId. |
getVpcFlowLogsConfigIdBytes()
public ByteString getVpcFlowLogsConfigIdBytes() Required. ID of the VpcFlowLogsConfig.
string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vpcFlowLogsConfigId. |
getVpcFlowLogsConfigOrBuilder()
public VpcFlowLogsConfigOrBuilder getVpcFlowLogsConfigOrBuilder() Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VpcFlowLogsConfigOrBuilder |
|
hasVpcFlowLogsConfig()
public boolean hasVpcFlowLogsConfig() Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the vpcFlowLogsConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateVpcFlowLogsConfigRequest other)
public CreateVpcFlowLogsConfigRequest.Builder mergeFrom(CreateVpcFlowLogsConfigRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateVpcFlowLogsConfigRequest |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateVpcFlowLogsConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateVpcFlowLogsConfigRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
mergeVpcFlowLogsConfig(VpcFlowLogsConfig value)
public CreateVpcFlowLogsConfigRequest.Builder mergeVpcFlowLogsConfig(VpcFlowLogsConfig value) Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
VpcFlowLogsConfig |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
setParent(String value)
public CreateVpcFlowLogsConfigRequest.Builder setParent(String value)Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats:
For project-level resources:
projects/{project_id}/locations/globalFor organization-level resources:
organizations/{organization_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateVpcFlowLogsConfigRequest.Builder setParentBytes(ByteString value)Required. The parent resource of the VpcFlowLogsConfig to create, in one of the following formats:
For project-level resources:
projects/{project_id}/locations/globalFor organization-level resources:
organizations/{organization_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
This builder for chaining. |
setVpcFlowLogsConfig(VpcFlowLogsConfig value)
public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig value) Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
VpcFlowLogsConfig |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue)
public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfig(VpcFlowLogsConfig.Builder builderForValue) Required. A VpcFlowLogsConfig resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
VpcFlowLogsConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
|
setVpcFlowLogsConfigId(String value)
public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfigId(String value) Required. ID of the VpcFlowLogsConfig.
string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vpcFlowLogsConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
This builder for chaining. |
setVpcFlowLogsConfigIdBytes(ByteString value)
public CreateVpcFlowLogsConfigRequest.Builder setVpcFlowLogsConfigIdBytes(ByteString value) Required. ID of the VpcFlowLogsConfig.
string vpc_flow_logs_config_id = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vpcFlowLogsConfigId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateVpcFlowLogsConfigRequest.Builder |
This builder for chaining. |