Class ShowEffectiveFlowLogsConfigsRequest.Builder (1.84.0)

public static final class ShowEffectiveFlowLogsConfigsRequest.Builder extends GeneratedMessage.Builder<ShowEffectiveFlowLogsConfigsRequest.Builder> implements ShowEffectiveFlowLogsConfigsRequestOrBuilder

Request for the ShowEffectiveFlowLogsConfigs method.

Protobuf type google.cloud.networkmanagement.v1.ShowEffectiveFlowLogsConfigsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ShowEffectiveFlowLogsConfigsRequest build()
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest

buildPartial()

public ShowEffectiveFlowLogsConfigsRequest buildPartial()
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest

clear()

public ShowEffectiveFlowLogsConfigsRequest.Builder clear()
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder
Overrides

clearFilter()

public ShowEffectiveFlowLogsConfigsRequest.Builder clearFilter()

Optional. Lists the EffectiveVpcFlowLogsConfigs that match the filter expression. A filter expression must use the supported CEL logic operators.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

clearPageSize()

public ShowEffectiveFlowLogsConfigsRequest.Builder clearPageSize()

Optional. Number of EffectiveVpcFlowLogsConfigs to return. Default is 30.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ShowEffectiveFlowLogsConfigsRequest.Builder clearPageToken()

Optional. Page token from an earlier query, as returned in next_page_token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

clearParent()

public ShowEffectiveFlowLogsConfigsRequest.Builder clearParent()

Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: projects/{project_id}/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

clearResource()

public ShowEffectiveFlowLogsConfigsRequest.Builder clearResource()

Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.

string resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ShowEffectiveFlowLogsConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

public String getFilter()

Optional. Lists the EffectiveVpcFlowLogsConfigs that match the filter expression. A filter expression must use the supported CEL logic operators.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Lists the EffectiveVpcFlowLogsConfigs that match the filter expression. A filter expression must use the supported CEL logic operators.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

Optional. Number of EffectiveVpcFlowLogsConfigs to return. Default is 30.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Page token from an earlier query, as returned in next_page_token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Page token from an earlier query, as returned in next_page_token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: 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 VpcFlowLogsConfig, specified in the following format: 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.

getResource()

public String getResource()

Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.

string resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.

string resource = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resource.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ShowEffectiveFlowLogsConfigsRequest other)

public ShowEffectiveFlowLogsConfigsRequest.Builder mergeFrom(ShowEffectiveFlowLogsConfigsRequest other)
Parameter
Name Description
other ShowEffectiveFlowLogsConfigsRequest
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ShowEffectiveFlowLogsConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ShowEffectiveFlowLogsConfigsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder
Overrides

setFilter(String value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setFilter(String value)

Optional. Lists the EffectiveVpcFlowLogsConfigs that match the filter expression. A filter expression must use the supported CEL logic operators.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setFilterBytes(ByteString value)

Optional. Lists the EffectiveVpcFlowLogsConfigs that match the filter expression. A filter expression must use the supported CEL logic operators.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setPageSize(int value)

Optional. Number of EffectiveVpcFlowLogsConfigs to return. Default is 30.

int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setPageToken(String value)

Optional. Page token from an earlier query, as returned in next_page_token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Page token from an earlier query, as returned in next_page_token.

string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setParent(String value)

Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: 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.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource of the VpcFlowLogsConfig, specified in the following format: 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.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setResource(String value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setResource(String value)

Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.

string resource = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public ShowEffectiveFlowLogsConfigsRequest.Builder setResourceBytes(ByteString value)

Required. The resource to get the effective VPC Flow Logs configuration for. The resource must belong to the same project as the parent. The resource must be a network, subnetwork, interconnect attachment, VPN tunnel, or a project.

string resource = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
ShowEffectiveFlowLogsConfigsRequest.Builder

This builder for chaining.