public static final class CreateVpcFlowLogsConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateVpcFlowLogsConfigRequest.Builder> implements CreateVpcFlowLogsConfigRequestOrBuilder
Request for the CreateVpcFlowLogsConfig
method.
Protobuf type google.cloud.networkmanagement.v1beta1.CreateVpcFlowLogsConfigRequest
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 CreateVpcFlowLogsConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateVpcFlowLogsConfigRequest build()
buildPartial()
public CreateVpcFlowLogsConfigRequest buildPartial()
clear()
public CreateVpcFlowLogsConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateVpcFlowLogsConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateVpcFlowLogsConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateVpcFlowLogsConfigRequest.Builder clearParent()
Required. The parent resource of the VPC Flow Logs configuration to create:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearVpcFlowLogsConfig()
public CreateVpcFlowLogsConfigRequest.Builder clearVpcFlowLogsConfig()
Required. A VpcFlowLogsConfig
resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
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) = { ... }
clone()
public CreateVpcFlowLogsConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateVpcFlowLogsConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The parent resource of the VPC Flow Logs configuration to create:
projects/{project_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 VPC Flow Logs configuration to create:
projects/{project_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];
getVpcFlowLogsConfigBuilder()
public VpcFlowLogsConfig.Builder getVpcFlowLogsConfigBuilder()
Required. A VpcFlowLogsConfig
resource
.google.cloud.networkmanagement.v1beta1.VpcFlowLogsConfig vpc_flow_logs_config = 3 [(.google.api.field_behavior) = REQUIRED];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateVpcFlowLogsConfigRequest other)
public CreateVpcFlowLogsConfigRequest.Builder mergeFrom(CreateVpcFlowLogsConfigRequest other)
public CreateVpcFlowLogsConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateVpcFlowLogsConfigRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateVpcFlowLogsConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateVpcFlowLogsConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateVpcFlowLogsConfigRequest.Builder setParent(String value)
Required. The parent resource of the VPC Flow Logs configuration to create:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateVpcFlowLogsConfigRequest.Builder setParentBytes(ByteString value)
Required. The parent resource of the VPC Flow Logs configuration to create:
projects/{project_id}/locations/global
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateVpcFlowLogsConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateVpcFlowLogsConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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 |
String
The vpcFlowLogsConfigId to set.
|
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 |
ByteString
The bytes for vpcFlowLogsConfigId to set.
|